﻿<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mailxml_base="http://idealliance.org/maildat/Specs/md091/mailxml60a/base" xmlns:mailxml="http://idealliance.org/maildat/Specs/md091/mailxml60a/mailxml" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://idealliance.org/maildat/Specs/md091/mailxml60a/mailxml" version="mailxml60a120308" >
  <xs:import schemaLocation="mailxml_base_120108.xsd" namespace="http://idealliance.org/maildat/Specs/md091/mailxml60a/base"/>
  <!--Copyright 2000-2008  International Digital Enterprise Alliance, Inc. (IDEAlliance). All rights reserved by the Copyright
Owner under the laws of the United States.  For support, more information, or to report implementation bugs, please contact IDEAlliance at
www.idealliance.org.-->
  <xs:annotation>
    <xs:documentation>
      CRS for V3.0
      +++++++++++++++
      CR 77: Mailer Rating Close Out msgs
      CR 79: Closeout for Pickup Appts
      CR 80: Partner Query msgs
      CR 81: QueryRecurringAppt Message Added
      CR 82 / 117: Joint Scheduling â€“ Standalone Content creation
      CR 83: Exception Scan Broker; Cast of Characters
      CR 84: Customer Relations Indification msgs
      CR 85: Add evsSampling
      CR 86:  EvsIndicator and EFile Number; Not backward compatible
      CR 87:  ForeCast Cancel Message
      CR 88: USPS Forecast Create Message
      CR 89: Forecast Update Message
      CR 93: Pickup Appt Messages (includes CR 92: and CR 95)
      CR 94: Add verification and transportation Location
      CR 96 / 97: Business Entity Partner Closeout Data
      CR 104: FAST Sibling Container Support
      CR 106: Add HandlingUnittype; Delete containerType; Not backward compatible
      CR 116: creation of a sibling pallet for an existing Mail.Dat
      CR 123: compatibility with mail.dat 8.2

      CRS for V4.0
      +++++++++++++++
      CR 148: Combine Standalone Messages with Delivery Content Msgs;
      Changed DeliveryApptContent Msgs to DeliveryContent Msgs and eliminated StandaloneContent Msgs
      CR 137: Add support for creating container linkage for copalletization
      CR 113-114: Add capability to update maildat Container Summary Records
      Comment #10: make response msgs consistent with accept/reject form

      CRS for V5.0
      +++++++++++++++
      CR 119: Add SubmittingParty to all message sets as per 4.0
      CR 124: Add ContainerStatusQueryRequest message set
      CR 121, 127, 128: USPSCRIDRequest and USPSMailIDRequest sets
      CR 129:    Add MailID and barcodePreparationOption to MailDataType
      CR 125: Add DeliveryApptContentRemove messages /155
      CR 158: Add SubmittingSoftware element to all message sets
      CR 152: Added logistics provider role; updated the CofC models to include
      containers as well as mail piece; also added submitting party / software
      CR 155: combine ContentCancel and Multiple Content Cancel and add flag to cover CR 125 as well
      CR 154: Change the Sibling Container Barcode field in the uspsContainerInfoType to * instead of ?.
      CR 172, 146:    MailPiece Messages to incorporate PDR with MailXML
      CR 171:    Add CRID and  MID to MailerData
      CR 107, 108, 109: Add WWS Messaging for Mail Group, Postage Statement, Qual Report and System Version
      CR 179: Dashboard Reporting
      CR 170: ByFor Conflict Msg
      CR 160: Automated Content
      CR 162: new closeout irregularities types
      CR 182: MailXml Presentation Category types added
      CR 185: USPS Pickup on Container Data
      CR 155: Delivery Content Multiple Cancel support
      CR 161: EvsSampling
      CR 120: Spoilage/ Postage Adjustment
      CR 130: Bundle  Detail
      CR 140 - 142: Estimated Weight Ad Percent Msgs
      CR 143:
      CR 153: Start the Clock and FullServiceContainerVisibilityQuery
      CR 163: Slot availability
      CR 159: Actual Bedload Count
      CR 199: del error and warning in favor of returnInfo
      CR 169/198: CSA
      CR 177: ContainerBundle Msge

      NOTE: WITH THE RELEASE OF V5.0 NAMESPACES HAVE CHANGED FROM
      mailxml: (simple types) and mailxml: (transaction messaging) and pdrxml: (pdr)
      and to mailxml_base: (simple types) and mailxml: (all messages)

      NOTE: WITH THE RELEASE OF V5.0, the DeliveryMultipleContentCancel Request/Response HAS BEEN DEPRECATED
      AS THE FUNCTIONALITY HAS BEEN COMBINED WITHIN THE DeliveryContent msgs

      +++++++++++++++++++++
      V6.0
      Note: Version 6.0 is a version that is limited critical updates to enable USPS to
      implement full service. Since there were no new business requirements for this release comment
      forms were used in place of the standard CR forms.  Comments incorporated are listed below:

      Comment 5102 Make PubisherData optional
      Comment 5103 change to MailXMLContainerType in PostageStatementLineItemData element
      Comment 5104 make percentage 100.00 - 0.00
      Comment 5105 remove AdPercent from Periodical Line Item Data
      Comment 5106 Change in certificationDataType to a 3 figure prefix.
      Comment 5107 Make ChargeableEntryLevel optional in Periodical Line Item
      Comment 5109 Remove MailXMLJobID from all types
      Comment 5110
      Comment 5111 Standardize on &quot;ft&quot; for &quot;foot&quot; for values
      Comment 5112 standardized on &quot;iMB&quot; for types
      Comment 5114 Change crediDebitIndicator to creditDebitIndicator
      Comment PT01 summaryRecordUpdateType must be corrected
      Comment PT02  tie PostageAdjustmentConfirmID to specific PostageAdjustment Record
      Comment PT03 Update PostageStatementCancelResponse to allow optional IDS for linking
      Comment PT04 add ACCOUNT option block
      Comment PT05 CRID must be required in uSPSCRIDQueryResponse
      Comment RSS3 TotalWeightOfContainer now xs:double
      Comment RSS4 make ParentContainerID optional in ContainerInfoData
      Comment RSS5 add DestinationEntry to BundleDetail
      Comment RSS6 add Zone to BundleDetail
      Comment RSS7 add DestinationZip to BundleDetail
      Comment RSS8 add Outside County to BundleDetail
      Comment RSS9 add SortationLevel to BundleDetail
      Comment RSS10 In abstractPostageStatementDataType make ExtraServiceSummaryData optional
      Comment RSS12 In CreateConsolidatedPeriodicalStatementData publisherData should use
      mailerDataRequestType not mailerDataType
      Comment RSS13 PermitTypeType should have one instance of enumeration value = â€œPIâ€
      Comment RSS14 Remove optional MailOwner from ContainerInfoData and add to ContainerDetailData
      Comment RSS15 remove ContainerShipDate and PostageStatementMailingDate from
      qualificationReportDataType
      Comment RSS16 Delete ContainerBundleReportUpdateRequest / Response
      Comment RSS18 In DocumentVersionDataWithPermit change datatype for AdPercent to percentageType
      Comment RSS19 Delete consolidatedMailingGroupType, mailingItemType and componentItemType
      Comment RSS21 Add Tracking ID in the response accepted block in qualification report create request
      Comment RSS22 Drop â€˜Replaceâ€™ attribute From Qual Create Message set
      Comment RSS23  Drop QualifcationReportCancelMessage
      Comment RSS24 Remove CustomerGroup/MailingGroup IDs and PostOfficeOfMailing and Mailing
      Facility from QualReportData type
      Comment RSS25 Delete the PostageStatementMailingDate in Qualification ReportData type
      Comment RSS26 Drop the CoPalletizationCustomerContainerID and CoPalletizationIndicator
      fields from ContainerInfoData
      Comment RSS27 Modify Postagestatementstatusqueryrequest; Make DestinationFacilityZip as
      optional from mandatory; and ADD StatementId as an optional field
      Comment RSS28 Remove AgencyCode and from abstractPostageStatementDataType
      Comment SM01 For standardization need to add the word Query to Nixie and
      DeliveryPointVerification Request/response messages
      Comment SM06 Standardize msg names per joint review list
      Comment SM07 Provide Notification and Delivery for all 5.0 Notification Msgs
      Comment SM13 Add MailingGroupID to Request as required and drop everything but
      MailingGroupID, CustomerGroupId, Submitting party, Software
      Make Response only a single MailingGroup
      Comment SM14 Change elements DeliveryPointVerification to DeliveryPointValidation
      Comment SM11 JW in bundleDetailLevelType in base should be W
      Comment SM10 Replace required CustgroupID with choice job block for
      FullServiceNixiedetailResponse and Delivery as well as DPVResponse
      Comment SM08 For FullServiceContainerVisibilityQuery change DispatchNunmber to CSADispatchNumbe
      Comment DK01
      Comment DK02 Delete Att Groups and ComplexTypes no longer in use:mailPieceGroupResponseType, mailWeightVerificationResultsType
      partnerApptResponseInfoBlockType, apptBlockResponseType, apptQueryResponseType, combinedMailingDataType,
      deliveryApptStatusType, mailWeightVerificationResultsType, rejectStandaloneContentType, ContainerBundleCreateReportHeaderInfo,
      GroupResponseHeaderInfo, MailXMLMsgRequestHeaderInfo, PickupResponseUnscheduledHeaderInfo

      +++++++++++++++++++++
      V6.0A
      Note: Version 6.0A is an errata.  Errata items incorporated are listed below:
      Errata ib_01 Add Large Transaction Divider to query results
      Errata ib_02 Make trackingID consistent as s12
      Errata ib_03 add â€˜Faultâ€™ element definition on the complex type â€œmessageResponseRetrievalResponseTypeâ€.
      This helps for the application to communicate Fault Messages to the Mailer on TrackingID processing.
      Errata sm_18 Change element dataRange to dateRange
      Errata sm_19 Make USPSPublicationNumber the same as PublicationNumber
      Errata sm_17 Incorrect header for OriginalContainerLinkageCreateRequest and OriginalContainerLinkageCreateResponse
      Errata sm_16 Update Move Update Method enumberation
      Errata sm_15 PostageAdjustmentCreateRequest / Response attributes incorrect
      Errata sm_13 Add optional StatementID to postageStatementSummaryType
      Errata sm_12 Add PublicationNumber to StartTheClockPlantLoad
      Errata sm_11 Add new role types
      Errata sm_10 Make RequestorCRID Optional
      Errata sm_09
      Errata sm_08 Make MailXMLApptID to ConsigneeApptID
      Errata sm_07 In FullServiceAddressCorrection make DetailJob info block optional
      Errata sm_06 Add Submitting Party, Submitting Software to Deliveries and Notifications
      Errata sm_05 Replace attributes with &quot;job&quot; model
      Errata sm_04 Replace attributes with &quot;job&quot; model
      Errata sm_03 Correct pattern for zipCodeThreeOrFiveDigit
      Errata sm_01 Add elements to ull Service Address Correction Query Response
      Errata rs_03 Add new zone types ICD, IC, DDU, SCF, ADC
      Errata rs_02 Add new entry facility types A, P, and Q
      Errata rs_01 Make UserPostageStatementID optional in PostageStatementCancelResponse PostageStatementQueryResponse and PostageStatementCreateAccept
      Errata ja_03 Make ReconciliationReportQueryResponse.MailingGroupSummary.Origin and Description a string
      Errata Ja_02 Change header attributes for MailingGroupQueryResponse to MailXMLMailGroupResponseHeaderInfo
      Errata Ja_01 Change header attributes for MailingGroupQueryRequest to MailXMLMailGroupResponseHeaderInfo
    </xs:documentation>
  </xs:annotation>
  <!--===               ====================            ===-->
  <!--===     GLOBAL ATTRIBUTE GROUP DEFINITIONS        ===-->
  <!--===                                               ===-->
  <!--===               ====================            ===-->
  <!--===AttGroup A ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Appt Status Request Message Header===-->
  <xs:attributeGroup name="ApptStatusRequestMsgHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--===AttGroup B ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Bundle Create Request Header Info ===-->
  <!--=== v5.0 DK ===-->
  <!--=== v6.0 dk drop Replace att per RSS22 ===-->
  <xs:attributeGroup name="BundleCreateRequestHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== Bundle Create Response Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="BundleCreateResponseHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--===AttGroup C ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Cancel Create Info Message Header===-->
  <!--=== Updated v5.0 dk per FAST ===-->
  <xs:attributeGroup name="CancelCreateMsgHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ShipperMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="ConsigneeMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="ShipperStopNumber" type="mailxml_base:n06"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType" use="required"/>
    <xs:attribute name="PickupOrDelivery" type="mailxml_base:pickupOrDeliveryType" use="required"/>
    <xs:attribute name="PalletPositionCount" type="mailxml_base:n02"/>
    <xs:attribute name="TransferAllContent" type="mailxml_base:yesNo" use="required"/>
  </xs:attributeGroup>
  <!--=== Cast of Character Request Header Info ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <xs:attributeGroup name="CastofCharacterRequestHeaderInfo">
    <xs:attribute name="OriginalSenderMsgID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--=== Cast of Character Response Header Info ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <xs:attributeGroup name="CastofCharacterResponseHeaderInfo">
    <xs:attribute name="OriginalSenderMsgID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="RecieverMsgID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--=== Content Remove Request Message Header===-->
  <!--=== V5.0 dk CR 125 ===-->
  <xs:attributeGroup name="ContentRemoveRequestMsgHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--=== Customer Supplier Agreement Request Info Message Header===-->
  <!--=== v5.0 CR 169 /198 CSA dk ===-->
  <xs:attributeGroup name="CustomerSupplierAgreementQueryMsgHeaderInfo">
    <xs:attribute name="OwnerCRID" type="mailxml_base:s10"/>
    <xs:attribute name="CSAID" type="mailxml_base:s10"/>
  </xs:attributeGroup>
  <!--===  Container Group Request Header Info    ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 CR 152 dk Added container group ===-->
  <xs:attributeGroup name="ContainerGroupRequestHeaderInfo">
    <xs:attribute name="SenderContainerGroupID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ReceiverContainerGroupID" type="mailxml_base:s12" use="optional"/>
  </xs:attributeGroup>
  <!--===  Container Group Response Header Info    ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 CR 152 dk Added container group ===-->
  <xs:attributeGroup name="ContainerGroupResponseHeaderInfo">
    <xs:attribute name="SenderContainerGroupID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ReceiverContainerGroupID" type="mailxml_base:s12" use="optional"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="ContainerBundleReportHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== Customer Relations Query Resquest Header ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <xs:attributeGroup name="CRQueryRequestHeaderInfo">
    <xs:annotation>
      <xs:documentation>Group of attributes identifying a mail piece and link to Maildat</xs:documentation>
    </xs:annotation>
    <xs:attribute name="SenderRequestTrackingID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="MailDatJobID" type="mailxml_base:jobIDType" use="required"/>
    <xs:attribute name="MPUID" type="mailxml_base:MPUIDType" use="required"/>
    <xs:attribute name="SegmentID" type="mailxml_base:s04" use="required"/>
    <xs:attribute name="ComponentID" type="mailxml_base:s08" use="required"/>
    <xs:attribute name="LinktoMaildatSummaryJobID" type="mailxml_base:jobIDType" use="required"/>
    <xs:attribute name="LinktoMaildatSummaryContainerID" type="mailxml_base:databaseContainerIDType" use="required"/>
  </xs:attributeGroup>
  <!--=== Customer Relations Query Response Header ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <xs:attributeGroup name="CRQueryResponseHeaderInfo">
    <xs:attribute name="SenderRequestTrackingID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="MailDatJobID" type="mailxml_base:jobIDType" use="required"/>
    <xs:attribute name="MPUID" type="mailxml_base:MPUIDType" use="required"/>
    <xs:attribute name="SegmentID" type="mailxml_base:s04" use="required"/>
    <xs:attribute name="ComponentID" type="mailxml_base:s08" use="required"/>
  </xs:attributeGroup>
  <!--===AttGroup D ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Delivery Content Message Header=== DK V2.1 CR67-->
  <!--=== v3.0 dk added schedulerCorpID to consolidate with standalone content messaging ===-->
  <!--=== v4.0 dk added Logistics scheduler and corp per FAST ; deleted contentIDs===-->
  <!--=== V4.0 comment 12, made Logistics ID's Optional ===-->
  <!--=== v4.0errata dk Comment #1 - Removed LogisticSchedulerID and LogisticsCorpID ===-->
  <xs:attributeGroup name="DeliveryContentHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--=== Delivery Content Message Header===  DK V21.CR 63, Comment Resolution-->
  <!--=== v3.0 dk added schedulerCorpID to consolidate with standalone content messaging ===-->
  <!--=== v4.0 dk added Logistics scheduler and corp per FAST ; deleted contentIDs===-->
  <!--=== v4.0errata dk Comment#1 - Removed LogisticSchedulerID and LogisticsCorpID ===-->
  <xs:attributeGroup name="DeliveryContentUpdateHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute default="No" name="FullContentReplacement" type="mailxml_base:yesNo"/>
  </xs:attributeGroup>
  <!--=== Delivery Appt Content Transport Update Header=== V2.1 dk CR 68-->
  <xs:attributeGroup name="DeliveryApptTransportUpdateHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--=== Delivery Content Message Header===  PT/dk v2.1 CR62-->
  <!--=== v4.0 CR 148 dk added schedulerContentID consigneeContentID to consolidate with standalone content messaging ===-->
  <!--=== v4.0 dk added Logistics scheduler and corp per FAST ; deleted contentIDs===-->
  <!--=== v4.0errata dk Comment #1 - Added ConsigneeContentID and SchedulerContentID
                        - Removed LogisticsSchedulerID and LogisticsCorpID ===-->
  <!-- chnged for CR 155&lt;xs:attributeGroup name=&quot;DeliveryContentHeaderInfoCancel&quot;&gt;
        &lt;xs:attribute name=&quot;ConsigneeApptID&quot; type=&quot;mailxml_base:s12&quot;/&gt;
        &lt;xs:attribute name=&quot;SchedulerID&quot; type=&quot;mailxml_base:s12&quot; use=&quot;required&quot;/&gt;
        &lt;xs:attribute name=&quot;SchedulerCorpID&quot; type=&quot;mailxml_base:s12&quot; use=&quot;required&quot;/&gt;
    &lt;/xs:attributeGroup&gt; -->
  <xs:attributeGroup name="DeliveryContentHeaderInfoCancel">
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--=== Delivery Content Query Message Header===-->
  <!--=== v4.0 CR 148 dk added schedulerContentID consigneeContentID to consolidate with standalone content messaging ===-->
  <!--=== v5.0 removed Requestor IDs ===-->
  <xs:attributeGroup name="DeliveryContentQueryMsgHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12"/>
    <xs:attribute name="ConsigneeContentID" type="mailxml_base:s12"/>
  </xs:attributeGroup>
  <!--===AttGroup G ===-->
  <!--                 -->
  <!--  ======         -->
  <!--===AttGroup I ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Induction Closeout Message Header===-->
  <xs:attributeGroup name="InductionCloseoutMsgHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="optional"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--===AttGroup L ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <xs:attributeGroup name="LargeTransactionDividerGroupOptionalType">
    <xs:attribute name="MessageGroupID" type="mailxml_base:s20" use="optional"/>
    <xs:attribute name="TotalMessageCount" type="xs:positiveInteger" use="optional"/>
    <xs:attribute name="MessageSerialNumber" type="xs:positiveInteger" use="optional"/>
    <xs:attribute name="TransmittedRecordCount" type="xs:positiveInteger" use="optional"/>
    <xs:attribute name="TotalRecordsAcrossMessages" type="xs:positiveInteger" use="optional"/>
    <xs:attribute default="No" name="LastMessage" type="mailxml_base:yesNo" use="optional"/>
  </xs:attributeGroup>
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <xs:attributeGroup name="LargeTransactionDividerGroupType">
    <xs:attribute name="MessageGroupID" type="mailxml_base:s20" use="required"/>
    <xs:attribute name="TotalMessageCount" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="MessageSerialNumber" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="TransmittedRecordCount" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="TotalRecordsAcrossMessages" type="xs:positiveInteger" use="required"/>
    <xs:attribute default="No" name="LastMessage" type="mailxml_base:yesNo" use="optional"/>
  </xs:attributeGroup>
  <!--=== v6.0 dk Comment 5110 atts for large transactions + SM113 ===-->
  <xs:attributeGroup name="MailGroupLargeTransactionDividerGroupType">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="MessageGroupID" type="mailxml_base:s20" use="required"/>
    <xs:attribute name="TotalMessageCount" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="MessageSerialNumber" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="TransmittedRecordCount" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="TotalRecordsAcrossMessages" type="xs:positiveInteger" use="required"/>
    <xs:attribute default="No" name="LastMessage" type="mailxml_base:yesNo" use="optional"/>
  </xs:attributeGroup>
  <!--===AttGroup M ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Mail Piece Group Request Header Info ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <xs:attributeGroup name="MailPieceGroupRequestHeaderInfo">
    <xs:attribute name="SenderMailPieceGroupID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ReceiverMailPieceGroupID" type="mailxml_base:s12" use="optional"/>
  </xs:attributeGroup>
  <!--=== MailXML Message Header ===-->
  <!--=== v5.0 dk ===-->
  <xs:attributeGroup name="MailXMLMessageHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== MailXML Message Header ===-->
  <!--=== v5.0 dk ===-->
  <!--=== v6.0A dk Errata sm_15 ===-->
  <xs:attributeGroup name="MailXMLMessageOptionalHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger"/>
  </xs:attributeGroup>
  <!--=== Mailing Group Message Header ===-->
  <!--=== v5.0 dk ===-->
  <xs:attributeGroup name="MailingGroupMessageHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== MailXML Msg Response Header Info ===-->
  <!--=== v5.0 DK ===-->
  <!--=== v6.0A dk Errata Ib_02 ===-->
  <xs:attributeGroup name="MailXMLMsgResponseHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="TrackingID" type="mailxml_base:s12"/>
    <xs:attribute name="Status" type="mailxml_base:statusType"/>
  </xs:attributeGroup>
  <!--=== MailXML Dashboard Header Info ===-->
  <!--=== v5.0 DK CR 175 ===-->
  <!--=== v6.0 dk Comment SM13 ===-->
  <xs:attributeGroup name="MailingGroupIDHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
  </xs:attributeGroup>
  <!--=== MailXML Dashboard Header Info ===-->
  <!--=== v5.0 DK CR 175 ===-->
  <xs:attributeGroup name="MailXMLDashboardHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== MailXML Open Mail Group Request Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLOpenMailGroupRequestHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
  </xs:attributeGroup>
  <!--=== MailXML Mail Group Request Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLMailGroupRequestHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== MailXML Mail Group Response Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLMailGroupResponseHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="Status" type="mailxml_base:statusType"/>
  </xs:attributeGroup>
  <!--=== MailXML Open Mail Group Response Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLOpenMailGroupResponseHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="Status" type="mailxml_base:statusType"/>
  </xs:attributeGroup>
  <!--=== MailXML Postage Statement Request Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLPostageStatementRequestHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== MailXML Postage Statement Response Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLPostageStatementResponseHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="Status" type="mailxml_base:statusType"/>
  </xs:attributeGroup>
  <!--=== MailXML Qual Report Request Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLQualReportRequestHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="Replace" type="mailxml_base:yesNo"/>
  </xs:attributeGroup>
  <!--=== MailXML Qual Report Response Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="MailXMLQualReportResponseHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== Mail Piece Group Response Header Info ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <xs:attributeGroup name="MailPieceGroupResponseHeaderInfo">
    <xs:attribute name="SenderMailPieceGroupID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ReceiverMailPieceGroupID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--===AttGroup O ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Original Container Linkage Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="OriginalContainerLinkageHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--=== Original Container Linkage Create Header Info ===-->
  <!--=== v5.0 DK ===-->
  <!--=== v6.0A dk sm_17 ===-->
  <xs:attributeGroup name="OriginalContainerLinkageCreateHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger"/>
  </xs:attributeGroup>
  <!--===AttGroup P ===-->
  <!--                 -->
  <!--  ======         -->
  <!--===   Partner Appt Request Header Info ===-->
  <!--=== CR 80 V3.0 dk ===-->
  <!--=== v5.0 dk optional SchedulerContentID and ConsigneeContentID,
    while making ConsigneeApptID, SchedulerID, and SchedulerCorpID required ===-->
  <xs:attributeGroup name="PartnerApptRequestHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12"/>
    <xs:attribute name="ConsigneeContentID" type="mailxml_base:s12"/>
    <xs:attribute name="Start" type="xs:dateTime"/>
    <xs:attribute name="End" type="xs:dateTime"/>
  </xs:attributeGroup>
  <!--===   Pickup Request Header Info ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <xs:attributeGroup name="PickupRequestHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType"/>
  </xs:attributeGroup>
  <!--===   Pickup Response Header Info ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <xs:attributeGroup name="PickupResponseHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType"/>
  </xs:attributeGroup>
  <!--===   Pickup Response Unscheduled Header Info ===-->
  <!--=== CR 79 v3.0 dk ===-->
  <xs:attributeGroup name="PickupResponseUnscheduledHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType"/>
  </xs:attributeGroup>
  <!--=== Postage Message Header Info ===-->
  <!--=== v5.0 DK ===-->
  <xs:attributeGroup name="PostageMessageHeaderInfo">
    <xs:attribute name="CustomerGroupID" type="mailxml_base:s25" use="required"/>
    <xs:attribute name="MailingGroupID" type="xs:nonNegativeInteger" use="required"/>
  </xs:attributeGroup>
  <!--===AttGroup Q ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Query Message Header===-->
  <xs:attributeGroup name="QueryMsgHeaderInfo">
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType" use="required"/>
  </xs:attributeGroup>
  <!--===AttGroup R ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Recurring Appt Query Request Header Info===-->
  <!--=== added v3.0 for CR 81, dk ===-->
  <xs:attributeGroup name="RecurringApptQueryRequestHeaderInfo">
    <xs:attribute name="CreatorSchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="CreatorSchedulerCorpID" type="mailxml_base:s12" use="required"/>
  </xs:attributeGroup>
  <!--=== Recurring Appt Query Response Header ===-->
  <!--=== added v3.0 for CR 81, dk ===-->
  <!--=== v5.0 dk removed requestor ids ===-->
  <xs:attributeGroup name="RecurringApptQueryResponseHeaderInfo">
    <xs:attribute name="CreatorSchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="CreatorSchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="RecurringApptID" type="mailxml_base:s08" use="required"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType" use="required"/>
  </xs:attributeGroup>
  <!--=== Request Message Header===-->
  <!--=== V4.0 dk Comment 16 add PickupOrDelivery attribute to Appt Requests ===-->
  <xs:attributeGroup name="RequestMsgHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ShipperMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="ConsigneeMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="ShipperStopNumber" type="mailxml_base:n06"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType" use="required"/>
    <xs:attribute name="PickupOrDelivery" type="mailxml_base:pickupOrDeliveryType" use="required"/>
    <xs:attribute name="PalletPositionCount" type="mailxml_base:n02"/>
  </xs:attributeGroup>
  <!--=== Response Message Header===-->
  <xs:attributeGroup name="ResponseMsgHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ShipperMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="ConsigneeMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="ShipperStopNumber" type="mailxml_base:n06"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType" use="required"/>
    <xs:attribute name="PickupOrDelivery" type="mailxml_base:pickupOrDeliveryType" use="required"/>
    <xs:attribute name="PalletPositionCount" type="mailxml_base:n02"/>
  </xs:attributeGroup>
  <!--=== Response Appointnment Update Message Header===-->
  <!--=== V4.0 dk Comment 16 add PickupOrDelivery attribute to Appt Requests ===-->
  <xs:attributeGroup name="ResponseApptUpdateMsgHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType" use="required"/>
    <xs:attribute name="PickupOrDelivery" type="mailxml_base:pickupOrDeliveryType" use="required"/>
    <xs:attribute name="PalletPositionCount" type="mailxml_base:n02"/>
  </xs:attributeGroup>
  <!--=== Response Multistop Message Header===-->
  <!--=== V4.0 dk Comment 16 add PickupOrDelivery attribute to Appt Requests ===-->
  <xs:attributeGroup name="ResponseMultiStopMsgHeaderInfo">
    <xs:attribute name="ShipperApptRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ShipperMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="ConsigneeMultiStopID" type="mailxml_base:s12"/>
    <xs:attribute name="PickupOrDelivery" type="mailxml_base:pickupOrDeliveryType" use="required"/>
    <xs:attribute name="ShipperStopNumber" type="mailxml_base:n06"/>
  </xs:attributeGroup>
  <!--===AttGroup S ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Sibling IDentifiers  Header Info    ===-->
  <!--=== CR ** v3.0 dk ===-->
  <xs:attributeGroup name="SiblingIdentifierHeaderInfo">
    <xs:annotation>
      <xs:documentation>Group of attributes identifying an original or sibling container</xs:documentation>
    </xs:annotation>
    <xs:attribute name="UserLicenseCode" type="mailxml_base:userLicenseCodeType" use="required"/>
    <xs:attribute name="MaildatJobID" type="mailxml_base:jobIDType" use="required"/>
    <xs:attribute name="DatabaseContainerID" type="mailxml_base:databaseContainerIDType" use="required"/>
    <xs:attribute name="UniqueContainerBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
  </xs:attributeGroup>
  <!--=== Summary IDentifier for Customer Relation Header Info ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <xs:attributeGroup name="SummaryIdentifierHeaderInfo">
    <xs:annotation>
      <xs:documentation>Group of attributes identifying a mail piece and link to Maildat</xs:documentation>
    </xs:annotation>
    <xs:attribute name="MaildatJobID" type="mailxml_base:jobIDType" use="required"/>
    <xs:attribute name="MPUID" type="mailxml_base:MPUIDType" use="required"/>
    <xs:attribute name="SegmentID" type="mailxml_base:s04" use="required"/>
    <xs:attribute name="ComponentID" type="mailxml_base:s08" use="required"/>
    <xs:attribute name="LinktoMaildatSummaryJobID" type="mailxml_base:jobIDType" use="required"/>
    <xs:attribute name="LinktoMaildatSummaryContainerID" type="mailxml_base:databaseContainerIDType" use="required"/>
  </xs:attributeGroup>
  <!--=== Status Query Msg Info Header ===-->
  <!--=== CR 124, v5.0, dk              ===-->
  <!--=== V4.0 dk Comment 20, add CloseoutResponseID to help PO! identify the XML message given to the mailer ===-->
  <!--=== v5.0 dk removed requestor ids ===-->
  <xs:attributeGroup name="StatusQueryMsgHeaderInfo">
    <xs:attribute name="CreatorSchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="CreatorSchedulerID" type="mailxml_base:s12" use="optional"/>
  </xs:attributeGroup>
  <!--=== Status Request Msg Info Header ===-->
  <!--=== CR 96, v3.0, dk              ===-->
  <!--=== V4.0 dk Comment 20, add CloseoutResponseID to help PO! identify the XML message given to the mailer ===-->
  <!--=== v5.0 dk removed requestor ids ===-->
  <xs:attributeGroup name="StatusRequestMsgHeaderInfo">
    <xs:attribute name="CloseoutResponseID" type="mailxml_base:s12" use="optional"/>
    <xs:attribute name="CreatorSchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="CreatorSchedulerID" type="mailxml_base:s12" use="optional"/>
  </xs:attributeGroup>
  <!--=== Status Request By Times Msg Info Header ===-->
  <!--=== CR 96, v3.0, dk              ===-->
  <!--=== v5.0 dk removed requestor ids ===-->
  <xs:attributeGroup name="StatusRequestByTimeMsgHeaderInfo">
    <xs:attribute name="CreatorSchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="CreatorSchedulerID" type="mailxml_base:s12" use="optional"/>
    <xs:attribute name="Start" type="xs:dateTime" use="optional"/>
    <xs:attribute name="End" type="xs:dateTime" use="optional"/>
  </xs:attributeGroup>
  <!--===AttGroup U ===-->
  <!--                 -->
  <!--  ======         -->
  <!--=== Unscheduled Response Message Header===-->
  <xs:attributeGroup name="UnscheduledResponseMsgHeaderInfo">
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="optional"/>
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ApptType" type="mailxml_base:apptTypeType" use="optional"/>
  </xs:attributeGroup>
  <!--=== USPSForecastAcceptHeaderInfo  Header ===-->
  <!--=== added v3.0 for CR 87 &amp; 88, dk ===-->
  <xs:attributeGroup name="USPSForecastAcceptHeaderInfo">
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ShipperForecastRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeForecastID" type="mailxml_base:s12"/>
    <xs:attribute name="OriginConsigneeFacility" type="mailxml_base:s15"/>
    <xs:attribute name="MailClass" type="mailxml_base:mailClassType"/>
    <xs:attribute name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
    <xs:attribute name="Month" type="mailxml_base:monthType"/>
  </xs:attributeGroup>
  <!--=== USPSForecastMsgHeaderInfo ===-->
  <!--== Added v3.0 for CR 88 dk     ===-->
  <xs:attributeGroup name="USPSForecastMsgHeaderInfo">
    <xs:attribute name="SchedulerCorpID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ShipperForecastRequestID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeForecastID" type="mailxml_base:s12"/>
    <xs:attribute name="OriginConsigneeFacility" type="mailxml_base:s15" use="required"/>
    <xs:attribute name="MailClass" type="mailxml_base:mailClassType" use="required"/>
    <xs:attribute name="ProcessingCategory" type="mailxml_base:processingCategoryType" use="required"/>
    <xs:attribute name="Month" type="mailxml_base:monthType" use="required"/>
  </xs:attributeGroup>
  <!--===               ====================            ===-->
  <!--===               ELEMENT DEFINITIONS             ===-->
  <!--===                                               ===-->
  <!--===               ====================            ===-->
  <!--===Element A===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Actual Consignee Facility ===-->
  <!-- -->
  <xs:element name="ActualConsigneeFacility" type="mailxml:consigneeFacilityType">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
  </xs:element>
  <!--=== Actual Truck Arrival ===-->
  <!-- -->
  <xs:element name="ActualTruckArrival" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
  </xs:element>
  <!--=== Actual Start Unload ===-->
  <!-- -->
  <xs:element name="ActualStartUnload" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
  </xs:element>
  <!--=== Actual End Unload ===-->
  <!-- -->
  <xs:element name="ActualEndUnload" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation>Actual date/time when unload is complete</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== All Delivery Appt. Closeout Request ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="AllDeliveryApptCloseoutRequest">
    <xs:annotation>
      <xs:documentation>Request to closeout all delivery appointments.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:StatusRequestByTimeMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== All Appt Closeout Response ===-->
  <!--=== Response to AllDeliveryApptCloseoutRequest and AllPickupApptCloseoutRequest ===-->
  <!--=== V4.0 dk updated to accept/reject form ===-->
  <xs:element name="AllApptCloseoutResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to closeout all delivery appointments.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="AllDeliveryApptCloseoutAccept">
          <xs:annotation>
            <xs:documentation>Response indicating that all delivery appointments have been closed.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:ConsigneeGoodsReceipt"/>
              <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:UnscheduledConsigneeGoodsReceipt"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:StatusRequestMsgHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="AllDeliveryApptCloseoutReject">
          <xs:annotation>
            <xs:documentation>Response indicating that all delivery appointments could not be closed and why.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:StatusRequestMsgHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== All Pickup Appt. Closeout Request ===-->
  <!--=== CR 79 v3.0 dk ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="AllPickupApptCloseoutRequest">
    <xs:annotation>
      <xs:documentation>Message sent from the Shipper to the Consignee to check the closeout status of all pickup appointmentsâ€”scheduled and unscheduled.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attribute name="ShipperID" use="required"/>
      <xs:attribute name="ShipperCorpID" use="required"/>
      <xs:attribute name="Start" type="xs:dateTime" use="required"/>
      <xs:attribute name="End" type="xs:dateTime" use="required"/>
    </xs:complexType>
  </xs:element>
  <!--=== Appt Induction Closeout Request Type ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="ApptInductionCloseoutRequest">
    <xs:annotation>
      <xs:documentation>Message sent by the Consigee to the Shipper to request induction closeouts.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element maxOccurs="unbounded" name="ApptCloseout" type="xs:dateTime"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:InductionCloseoutMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Appt Induction Closeout Response Type ===-->
  <xs:element name="ApptInductionCloseoutResponse">
    <xs:annotation>
      <xs:documentation>Response from the Shipper providing induction closeout information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="ApptInductionCloseoutAccept" type="mailxml:apptCloseoutResponseType"/>
        <xs:element name="ApptInductionCloseoutReject" type="mailxml:apptCloseoutNotAvailableResponseType"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Appt Status ===-->
  <!-- -->
  <xs:element name="ApptStatus" type="mailxml_base:apptStatusType">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
  </xs:element>
  <!--===Element B===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Begin Combined Mailing Request ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="BeginCombinedMailingRequest">
    <xs:annotation>
      <xs:documentation>Request to begine a combined mailing in which multiple postage payment methods (and or multiple permit numbers within the same payment method) are presorted together.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Begin Combined Mailing Response ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="BeginCombinedMailingResponse">
    <xs:annotation>
      <xs:documentation>Response from USPS to begin a combined mailing.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="BeginCombinedMailingAccept">
          <xs:annotation>
            <xs:documentation>Response from USPS indicating that combined mailing began.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" name="CombinedMailingId" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="BeginCombinedMailingReject">
          <xs:annotation>
            <xs:documentation>
              Response from USPS indicating that combined mailing
              could not be established and why.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Bundle Detail Cancel Request ===-->
  <!--=== v5.0 dk CR 130 ===-->
  <!--=== v6.0 dk MS06 standardize names ===-->
  <xs:element name="BundleDetailCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel unique bundle detail.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element maxOccurs="unbounded" name="BundleDetail" type="mailxml:bundleDetailType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:BundleCreateResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--===  Bundle Detail Cancel Response    ===-->
  <!--=== v5.0 dk CR 130 ===-->
  <!--=== v6.0 dk MS06 standardize names ===-->
  <xs:element name="BundleDetailCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to cancel unique bundle detail.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="BundleDetailCancelAccept">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:BundleCreateResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="BundleDetailCancelReject">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:BundleCreateResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Bundle Detail Create Request ===-->
  <!--=== v5.0 dk CR 130 ===-->
  <!--=== v6.0 dk MS06 standardize names ===-->
  <xs:element name="BundleDetailCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create unique bundle detail information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element maxOccurs="unbounded" name="BundleDetail" type="mailxml:bundleDetailType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:BundleCreateRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Bundle Detail Create Response ===-->
  <!--=== v5.0 dk CR 130 ===-->
  <!--=== v6.0 dk MS06 standardize names ===-->
  <xs:element name="BundleDetailCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to create unique bundle detail information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="BundleDetailCreateAccept">
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element name="BundleConfirmID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:BundleCreateResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="BundleDetailCreateReject">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:BundleCreateResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== By For Conflict Delivery ===-->
  <!--=== V6.0 dk Comment SM07 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0A dk Errate SM_06 ===-->
  <xs:element name="ByForConflictDelivery">
    <xs:annotation>
      <xs:documentation>Delivery of by / for conflict information from USPS.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element minOccurs="1" maxOccurs="unbounded" name="ByForConflict" type="mailxml:byForConflictType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupOptionalType"/>
    </xs:complexType>
  </xs:element>
  <!--=== By For Conflict Notification ===-->
  <!--=== V5.0 dk CR 170 ===-->
  <!--=== v6.0A dk Errata SM_06 ===-->
  <xs:element name="ByForConflictNotification">
    <xs:annotation>
      <xs:documentation>Notification from USPS that a by / for conflict resolution is ready for pickup.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element minOccurs="1" maxOccurs="unbounded" name="ByForConflict" type="mailxml:byForConflictType"/>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== By For Conflict Query Request===-->
  <!--=== V5.0 dk CR 170 ===-->
  <xs:element name="ByForConflictQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for by(preparer) / for(owner) conflicts information in edocs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== By For Conflict Query Response ===-->
  <!--=== V5.0 dk CR 170 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0A dk Errata ib_01 ====-->
  <xs:element name="ByForConflictQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query by(preparer) / for(owner) conflicts information in edocs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:sequence>
                  <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
                  <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
                  <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                </xs:sequence>
              </xs:choice>
              <xs:element minOccurs="0" ref="mailxml:LargeTransactionDividerResult"/>
              <xs:element minOccurs="0" maxOccurs="unbounded" name="ByForConflict" type="mailxml:byForConflictType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupType"/>
    </xs:complexType>
  </xs:element>
  <!--===Element C===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Cast of Characters Cancel Request ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 dk Added Submitting Party / Software ===-->
  <!--=== V5.0 dk CR 152 Added Container ===-->
  <xs:element name="CastofCharactersCancelRequest">
    <xs:annotation>
      <xs:documentation>Message requesting the cancellation of unique identification the various roles for parties within the industry for a list to enable information access and sharing between USPS and multiple mailers.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:element name="Particpant" type="mailxml:participantIDType"/>
          <xs:element maxOccurs="unbounded" name="Role" type="mailxml_base:roleType"/>
        </xs:sequence>
        <xs:choice>
          <xs:element maxOccurs="unbounded" name="MailPieceGroup" type="mailxml:mailPieceGroupType"/>
          <xs:element maxOccurs="unbounded" name="ContainerGroup" type="mailxml:containerGroupType"/>
        </xs:choice>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:CastofCharacterRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Cast of Characters Cancel Response ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 dk Added Submitting Party / Software ===-->
  <!--=== V5.0 dk CR 152 Added Container ===-->
  <xs:element name="CastofCharactersCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to a message requesting  the cancellation of unique identification the various roles for parties within the industry.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="CastofCharactersCancelAccept">
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element maxOccurs="unbounded" name="MailPieceGroup" type="mailxml:mailPieceGroupType"/>
                <xs:element maxOccurs="unbounded" name="ContainerGroup" type="mailxml:containerGroupType"/>
              </xs:choice>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:element name="Particpant" type="mailxml:participantIDType"/>
                <xs:element maxOccurs="unbounded" name="Role" type="mailxml_base:roleType"/>
              </xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:CastofCharacterResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="CastofCharactersCancelReject">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:CastofCharacterResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Cast of Characters Create Request ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 dk Added Submitting Party / Software ===-->
  <!--=== v5.0 CR 152 dk Added ContainerGroup ===-->
  <xs:element name="CastofCharactersCreateRequest">
    <xs:annotation>
      <xs:documentation>Message requesting the creation of unique identification the various roles for parties within the industry for a list to enable information access and sharing between USPS and multiple mailers.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:element name="Particpant" type="mailxml:participantIDType"/>
          <xs:element maxOccurs="unbounded" name="Role" type="mailxml_base:roleType"/>
        </xs:sequence>
        <xs:choice>
          <xs:element maxOccurs="unbounded" name="MailPieceGroup" type="mailxml:mailPieceGroupCreateType"/>
          <xs:element maxOccurs="unbounded" name="ContainerGroup" type="mailxml:groupContainerIDType"/>
        </xs:choice>
        <xs:element name="EffectiveDate" type="xs:date"/>
        <xs:choice minOccurs="0">
          <xs:element name="ExpirationDate" type="xs:date"/>
          <xs:sequence>
            <xs:element name="Duration" type="xs:nonNegativeInteger"/>
            <xs:element name="DurationUnitofMeasure" type="mailxml_base:uOMType"/>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:CastofCharacterRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Cast of Characters Create Response ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 dk Added Submitting Party / Software ===-->
  <!--=== V5.0 dk CR 152 Added Container Group ===-->
  <xs:element name="CastofCharactersCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a message requesting the creation of unique identification the various roles for parties within the industry.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="CastofCharactersCreateAccept" type="mailxml:CofCCreateAcceptType"/>
        <xs:element name="CastofCharactersCreateReject" type="mailxml:CofCCreateRejectType"/>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:CastofCharacterResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Cast of Characters Update Request ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 dk Added Submitting Party / Software ===-->
  <!--=== V5.0 dk CR 152 Added Container ===-->
  <xs:element name="CastofCharactersUpdateRequest">
    <xs:annotation>
      <xs:documentation>Message requesting an update to unique identification the various roles for parties within the industry for a list to enable information access and sharing between USPS and multiple mailers.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:element maxOccurs="unbounded" name="MailPieceGroup" type="mailxml:mailPieceGroupType"/>
          <xs:element maxOccurs="unbounded" name="ContainerGroup" type="mailxml:containerGroupType"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:element name="Particpant" type="mailxml:participantIDType"/>
          <xs:element maxOccurs="unbounded" name="Role" type="mailxml_base:roleType"/>
        </xs:sequence>
        <xs:element minOccurs="0" name="EffectiveDate" type="xs:date"/>
        <xs:choice minOccurs="0">
          <xs:element name="ExpirationDate" type="xs:date"/>
          <xs:sequence>
            <xs:element name="Duration" type="xs:nonNegativeInteger"/>
            <xs:element name="DurationUnitofMeasure" type="mailxml_base:uOMType"/>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:CastofCharacterRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Cast of Characters Update Response ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 dk Added Submitting Party / Software ===-->
  <!--=== V5.0 dk CR 152 Added Container ===-->
  <xs:element name="CastofCharactersUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to a message requesting an update to unique identification the various roles for parties within the industry.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="CastofCharactersUpdateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element maxOccurs="unbounded" name="MailPieceGroup" type="mailxml:mailPieceGroupType"/>
                <xs:element maxOccurs="unbounded" name="ContainerGroup" type="mailxml:containerGroupType"/>
              </xs:choice>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:CastofCharacterResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="CastofCharactersUpdateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element maxOccurs="unbounded" name="MailPieceGroup" type="mailxml:mailPieceGroupType"/>
                <xs:element maxOccurs="unbounded" name="ContainerGroup" type="mailxml:containerGroupType"/>
              </xs:choice>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:CastofCharacterResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Close Mailing Group Request ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="CloseMailingGroupRequest">
    <xs:annotation>
      <xs:documentation>Request for USPS to close or delete a Mailing Group that does not suit their business needs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLMailGroupRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Close Mailing Group Response ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="CloseMailingGroupResponse">
    <xs:annotation>
      <xs:documentation>Response from USPS to the request to close or delete a Mailing Group that does not suit their business needs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="CloseMailingGroupAccept">
          <xs:annotation>
            <xs:documentation>
              Response from USPS that a Mailing Group has been closed.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CloseConfirmID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMailGroupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="CloseMailingGroupReject">
          <xs:annotation>
            <xs:documentation>Response from USPS that a Mailing Group could not be closed and why.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMailGroupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Component Item Type ===-->
  <!-- Defines the data elements that makeup a Component complex type -->
  <!--=== v6.0 dk removed per RSS19 ===-->
  <!--=== Consignee Goods Receipt ===-->
  <xs:element name="ConsigneeGoodsReceipt">
    <xs:annotation>
      <xs:documentation>A report or message indicating delivery closeout status for a scheduled appoiintment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ApptBlockGoodsReceipt" type="mailxml:apptBlockGoodsType"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Consignee Goods Receipt Delivery ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v6.0 dk Comment SM07 ===-->
  <xs:element name="ConsigneeGoodsReceiptDelivery">
    <xs:annotation>
      <xs:documentation>Delivery of a consignee goods receipt from the USPS</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:sequence>
          <xs:element name="ApptBlockGoodsReceipt" type="mailxml:apptBlockGoodsType"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
          <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
          <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
        </xs:sequence>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Consignee Goods Receipt Notification ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <xs:element name="ConsigneeGoodsReceiptNotification">
    <xs:annotation>
      <xs:documentation>Notification that a consignee goods receipt is ready for pickup from the USPS.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Consolidated Mailing Group ===-->
  <!--=== V6.0 dk deleted per RSS19 ===-->
  <!-- Define list of mailings that the customer would like to update -->
  <!--=== Consolidated Periodical Statement Create Request ===-->
  <!--=== V5.0 dk                          ===-->
  <xs:element name="ConsolidatedPeriodicalStatementCreateRequest">
    <xs:annotation>
      <xs:documentation>A message requesting the creation of a consolidated periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="CreateConsolidatedPeriodicalStatementData" type="mailxml:createConsolidatedPeriodicalStatementDataType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== ConsolidatedPeriodicalStatementCreate Response ===-->
  <!--=== V5.0 dk                      ===-->
  <!--=== v6.0A dk Errata ib02 ===-->
  <xs:element name="ConsolidatedPeriodicalStatementCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the message requesting the creation of a consolidated periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="ConsolidatedPeriodicalStatementCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:choice>
              <xs:sequence>
                <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
                <xs:element name="TotalPostage" type="xs:double"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
              <xs:sequence>
                <xs:element name="TrackingID" type="mailxml_base:s12"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:choice>
            <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="ConsolidatedPeriodicalStatementCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Container Bundle Report Cancel Msgs ===-->
  <!--=== Container Bundle Report Cancel Request ===-->
  <!--=== v5.0 dk ===-->
  <xs:element name="ContainerBundleReportCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a container report.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Container Bundle Report Cancel Response ===-->
  <!--=== v5.0 dk ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="ContainerBundleReportCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to cancel a container report.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="ContainerBundleReportCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
                <xs:element name="TrackingID" type="mailxml_base:s12"/>
              </xs:choice>
              <xs:element name="ContainerBundleReportID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="ContainerBundleReportCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Container Bundle Report Create Request ===-->
  <!--=== v5.0 dk ===-->
  <xs:element name="ContainerBundleReportCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a container report.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:element name="ContainerBundleMPURecords">
            <xs:complexType>
              <xs:sequence>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="SackTrayContainerMPURecord" type="mailxml:sackTrayContainerMPURecordType"/>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="PalletContainerMPURecord" type="mailxml:palletContainerMPURecordType"/>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="BundleMPURecord" type="mailxml:bundleMPURecordType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="ContainerBundleSummaryRecords">
            <xs:complexType>
              <xs:sequence>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="SackTrayContainerRecord" type="mailxml:sackTrayContainerRecordType"/>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="PalletContainerRecord" type="mailxml:palletContainerRecordType"/>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="BundleRecord" type="mailxml:bundleRecordType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Container Bundle Report Create Response ===-->
  <!--=== v5.0 dk ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="ContainerBundleReportCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to create a container report.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="ContainerBundleReportCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:sequence>
                  <xs:element name="ContainerBundleReportID" type="mailxml_base:s12"/>
                  <xs:element name="ContainerBundleStatus" type="mailxml_base:containerBundleStatusType"/>
                </xs:sequence>
                <xs:element name="TrackingID" type="mailxml_base:s12"/>
              </xs:choice>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="ContainerBundleReportCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Container Bundle Update Msgs ===-->
  <!--=== Container Bundle Report Update Request ===-->
  <!--=== v5.0 dk ===-->
  <!--=== v6.0 dk Removed RSS16 ===-->
  <!--=== Container Bundle Report Query Request ===-->
  <!--=== v5.0 dk ===-->
  <xs:element name="ContainerBundleReportQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for for a container bundle report</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Container Bundle Report Query Response ===-->
  <!--=== v5.0 dk ===-->
  <!--=== v6.0 dk Comment DK01 ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="ContainerBundleReportQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query for a container bundle report</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="ContainerBundleReportID" type="mailxml_base:s12"/>
                <xs:element name="TrackingID" type="mailxml_base:s12"/>
                <xs:choice>
                  <xs:element name="ContainerBundleMPURecords">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element minOccurs="0" maxOccurs="unbounded" name="SackTrayContainerMPURecord" type="mailxml:sackTrayContainerMPURecordType"/>
                        <xs:element minOccurs="0" maxOccurs="unbounded" name="PalletContainerMPURecord" type="mailxml:palletContainerMPURecordType"/>
                        <xs:element minOccurs="0" maxOccurs="unbounded" name="BundleMPURecord" type="mailxml:bundleMPURecordType"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="ContainerBundleSummaryRecords">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element minOccurs="0" maxOccurs="unbounded" name="SackTrayContainerRecord" type="mailxml:sackTrayContainerRecordType"/>
                        <xs:element minOccurs="0" maxOccurs="unbounded" name="PalletContainerRecord" type="mailxml:palletContainerRecordType"/>
                        <xs:element minOccurs="0" maxOccurs="unbounded" name="BundleRecord" type="mailxml:bundleRecordType"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:choice>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ContainerBundleReportHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Container Detail Data ===-->
  <!--=== V5.0 dk  CR 189            ===-->
  <!--=== V5.0 dk CR 178 ===-->
  <!--=== v6.0 dk RSS14 add MailOwner ===-->
  <xs:element name="ContainerDetailData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="MailOwner" type="mailxml:permitPublicationDataType"/>
        <xs:element minOccurs="0" name="CarrierRouteNumber" type="mailxml_base:es4"/>
        <xs:element name="CumulativePostage" type="xs:double"/>
        <xs:element name="DestinationZip" type="mailxml_base:zipCodeThreeOrFiveDigit"/>
        <xs:element name="EntryDiscountType" type="mailxml_base:entryDiscountType"/>
        <xs:element minOccurs="0" name="MailEndSeqNo" type="mailxml_base:s50"/>
        <xs:element minOccurs="0" name="MailStartSeqNo" type="mailxml_base:s50"/>
        <xs:element name="Postage" type="xs:double"/>
        <xs:element name="RateLevel" type="mailxml_base:rateLevelType"/>
        <xs:element name="TotalCopies" type="xs:nonNegativeInteger"/>
        <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="Zone" type="mailxml_base:zoneType"/>
        <xs:element minOccurs="0" name="VersionId" type="mailxml_base:s10"/>
        <xs:element minOccurs="0" name="ZipThreeFive" type="mailxml_base:zipCodeThreeOrFiveDigit"/>
        <xs:element minOccurs="0" name="InOutCountyIndicator" type="mailxml_base:inCountyOutCountyIndicatorType"/>
        <xs:element minOccurs="0" name="RateLevelIndicator" type="mailxml_base:rateLevelIndicatorType"/>
        <xs:element minOccurs="0" name="IncludedInOtherDoc" type="mailxml_base:yesNo"/>
        <xs:element minOccurs="0" name="ContainerChargeContainerLevel" type="mailxml_base:cccLevelType"/>
        <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
        <xs:element name="ServiceLevelIndicator" type="mailxml_base:serviceLevelIndicatorType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Container Information Data ===-->
  <!--=== V5.0 dk              ===-->
  <!--=== v6.0 dk TotalWeightOfContainer is xs:double ===-->
  <!--=== v6.0 dk ParentContainerID optional RSS4 ===-->
  <!--=== v6.0 dk remove Mailowner RSS14 ===-->
  <!--=== v6.0 dk RSS26 ===-->
  <xs:element name="ContainerInfoData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="PhysicalPostalCodeEntryPoint" type="mailxml_base:s06"/>
        <xs:element name="DeliveryLocaleKeyEntryPoint" type="mailxml_base:s06"/>
        <xs:element name="ContainerShipDate" type="xs:date"/>
        <xs:element minOccurs="0" name="CSADispatchNumber" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="CSDID" type="mailxml_base:ns10"/>
        <xs:element minOccurs="0" name="CSADispatchTime" type="xs:time"/>
        <xs:element minOccurs="0" name="CarrierRouteNumber" type="mailxml_base:s04"/>
        <xs:element minOccurs="0" name="CinCode" type="mailxml_base:s03"/>
        <xs:element minOccurs="0" name="ContainerBarcode" type="mailxml_base:s50"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:ContainerDetailData"/>
        <xs:element minOccurs="0" name="ContainerDisplayName" type="mailxml_base:s50"/>
        <xs:element name="ContainerType" type="mailxml_base:containerType"/>
        <xs:element name="CustomerContainerID" type="mailxml_base:s50"/>
        <xs:element minOccurs="0" name="ParentContainerID" type="mailxml_base:s50"/>
        <xs:element name="DestinationZip" type="mailxml_base:zipCodeThreeOrFiveDigit"/>
        <xs:element name="EntryPointFacilityType" type="mailxml_base:entryFacilityType"/>
        <xs:element name="EntryPointZip" type="mailxml_base:zipCodeThreeOrFiveDigit"/>
        <xs:element minOccurs="0" name="EntryLocaleKey" type="mailxml_base:localeKeyType"/>
        <xs:element minOccurs="0" name="ParentContainerID" type="mailxml_base:s50"/>
        <xs:element name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
        <xs:element name="SortationLevel" type="mailxml_base:sortationLevelType"/>
        <xs:element name="OverflowIndicator" type="mailxml_base:yesNo"/>
        <xs:element name="ParentContainerID" type="mailxml_base:s50"/>
        <xs:element name="ScheduledInducationDate" type="xs:date"/>
        <xs:element name="ScheduledInducationTime" type="xs:time"/>
        <xs:element name="USPSPickup" type="mailxml_base:yesNo"/>
        <xs:element name="MailOwnerCRID" type="mailxml_base:CRIDType"/>
        <xs:element minOccurs="0" name="MailXMLContentID" type="mailxml_base:s09"/>
        <xs:element minOccurs="0" name="MailXMLApptID" type="mailxml_base:ns09"/>
        <xs:element name="PostageStatementMailingDate" type="xs:date"/>
        <xs:element name="PostageStatementMailingTime" type="xs:time"/>
        <xs:element minOccurs="0" name="ContainerAcceptanceDate" type="xs:date"/>
        <xs:element minOccurs="0" name="ContainerAcceptanceTime" type="xs:time"/>
        <xs:element minOccurs="0" name="CarrierID" type="mailxml_base:s15"/>
        <xs:element minOccurs="0" name="TruckAndDispatchNumber" type="mailxml_base:s10"/>
        <xs:element minOccurs="0" name="TotalWeightOfContainer" type="xs:double"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--===Container Status Query Request ===-->
  <!--=== V5.0 CR 124 dk New Message Set ===-->
  <xs:element name="ContainerStatusQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for container status.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element maxOccurs="unbounded" name="ContainerID" type="mailxml:containerIDType"/>
            <xs:element maxOccurs="unbounded" name="ConsigneeApptID" type="mailxml_base:s12"/>
            <xs:element maxOccurs="unbounded" name="ContentID" type="mailxml:contentIDType"/>
          </xs:choice>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:StatusQueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--===Container Status Query Response ===-->
  <!--=== V5.0 CR 124 dk New Message Set ===-->
  <xs:element name="ContainerStatusQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for container status.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence maxOccurs="unbounded">
                <xs:element name="UniqueContainerBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
                <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
                <xs:element name="ContainerStatus" type="mailxml_base:containerStatusType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:StatusQueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--===Container Visibility Entry ===-->
  <xs:element name="ContainerVisibilityEntry">
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="MailXMLApptID" type="mailxml_base:ns09"/>
          <xs:element name="CSADispatchNumber" type="mailxml_base:ns10"/>
        </xs:choice>
        <xs:element name="USPSInductionFacilityLocaleKey" type="mailxml_base:localeKeyType"/>
        <xs:element name="USPSInductionFacilityName" type="mailxml_base:s50"/>
        <xs:element name="IntelligentMailContainerBarcode" type="mailxml_base:IMCBType"/>
        <xs:element name="ContainerScanDateTime" type="xs:dateTime"/>
        <xs:element name="InductionStatus" type="mailxml_base:inductionStatusType"/>
        <xs:element name="InductionIssueDescription" type="mailxml_base:s50"/>
        <xs:element name="InductionIssueResolution" type="mailxml_base:s50"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Customer Relation Identification Query Request ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="CustomerRelationIdentifyQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for mail piece customer identifiers.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:CRQueryRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Customer Relation Identification Query Response ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <!--=== V5.0 dk CR 199 del warning and error ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="CustomerRelationIdentifyQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for mail piece customer identifiers.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                <xs:element name="TrackingID" type="mailxml_base:s12"/>
                <xs:element name="Status" type="mailxml_base:statusType"/>
                <xs:element minOccurs="0" name="CustomerID" type="mailxml:customerIdentityType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:CRQueryResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Customer Relation Identification Update Request ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="CustomerRelationIdentifyUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request to update mail piece customer information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="UpdateCustomerInfo" type="mailxml:customerIdentityType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:SummaryIdentifierHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Customer Relation Identification Update Response ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <xs:element name="CustomerRelationIdentifyUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response for the update request for mail piece customer information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="CustomerRelationIdentifyUpdateAccept">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SetCustomerInfo" type="mailxml:customerIdentityType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:SummaryIdentifierHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerRelationIdentifyUpdateReject">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:SummaryIdentifierHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Customer Supplier Agreement Query Request ===-->
  <!--=== v5.0 CR 169 /198 CSA dk ===-->
  <xs:element name="CustomerSupplierAgreementQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for for a Customer Supplier Agreement (CSA).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:CustomerSupplierAgreementQueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Customer Supplier Agreement Query Response ===-->
  <!--=== v5.0 CR 169 /198 CSA dk ===-->
  <!--=== V6.0 dk Comment DK01 ===-->
  <xs:element name="CustomerSupplierAgreementQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for for a Customer Supplier Agreement (CSA).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" maxOccurs="unbounded" name="CSAInfo" type="mailxml:csaInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:CustomerSupplierAgreementQueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--===Element D===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Delivery Appt Content Remove Request ===-->
  <!--=== V5.0 dk CR 125 ===-->
  <!--=== V5.0 dk CR 119 &amp; 158                ===-->
  <xs:element name="DeliveryApptContentRemoveRequest">
    <xs:annotation>
      <xs:documentation>Request to remove content from a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="1" maxOccurs="unbounded" name="ContentID" type="mailxml:contentIDType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ContentRemoveRequestMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Content Remove Respnse ===-->
  <!--=== V5.0 dk CR 125 ===-->
  <xs:element name="DeliveryApptContentRemoveResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to remove content from a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptContentRemoveAccept" type="mailxml:deliveryApptContentRemoveAcceptType"/>
        <xs:element name="DeliveryApptContentRemoveReject" type="mailxml:deliveryApptContentRemoveRejectType"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Cancel Request ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="ReturnInfo" type="mailxml:optReturnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Cancel Response===-->
  <xs:element name="DeliveryApptCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to cancel a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="DeliveryApptCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Cancel Create Request ===-->
  <!--=== Added in V2.0 to allow for cancellation and creation of new appt in a single message ===-->
  <!-- PST added 12-jan added attribute for appt # and detail info block, Change attribute grouping for message -->
  <!--===DK added required consigneeApptID attribute 15 Jan 07 ===-->
  <!--=== added optional trailerinfo dk v2.1 CR 64===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptCancelCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a delivery appointment and create a new one.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element maxOccurs="unbounded" name="ApptCancel">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
            </xs:sequence>
            <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="ApptBlock" type="mailxml:apptBlockRequestType"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:CancelCreateMsgHeaderInfo"/>
      <!-- above is a new attribute groups -->
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Cancel Create Response ===-->
  <!-- PST 12-jan changed to complement new request add attribute for cancel message -->
  <!--===DK added required consigneeApptID attribute 15 Jan 07 ===-->
  <!--===DK deleted attributes at root level to create errata 1 version 19 Jan 07 ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptCancelCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to cancel a delivery appointment and create a new one.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice maxOccurs="unbounded">
          <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
          <xs:element name="ApptCancel">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
              </xs:sequence>
              <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12" use="required"/>
            </xs:complexType>
          </xs:element>
        </xs:choice>
        <xs:choice>
          <xs:element name="DeliveryApptAccept" type="mailxml:deliveryApptAcceptType"/>
          <xs:element name="DeliveryApptReject" type="mailxml:deliveryApptRejectType"/>
        </xs:choice>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Create Request ===-->
  <!--=== updated to DeliveryApptCreateRequest at V4.0 dk for consistency with other messages ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
          <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
        </xs:choice>
        <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Create Response ===-->
  <!--=== updated to DeliveryApptCreateResponse at V4.0 dk for consistency with other messages ===-->
  <!--=== V4.0 dk comment 13, correct spelling of DeliveryApptCreateReject ===-->
  <xs:element name="DeliveryApptCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to create a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptCreateAccept" type="mailxml:deliveryApptAcceptType"/>
        <xs:element name="DeliveryApptCreateReject" type="mailxml:deliveryApptRejectType"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt MultiStop Update ===-->
  <!-- Note that this message cannot be used to update anything but the multistop information.  
        That is handled by a separate DeliveryApptUpdate message -->
  <!--=== Added &quot;Request&quot; for consistency in V2.0 ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptMultiStopUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request to update a multistop delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ResponseMultiStopMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Query Request ===-->
  <!--=== dk v5.0 CR 163 - Added Slot Availability. ===-->
  <xs:element name="DeliveryApptQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for for availablity of a particular appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
          <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
          <xs:element name="SlotAvailibilty" type="mailxml:slotAvailibilityType"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Query Response === CR 75 v2.1 dk-->
  <!--=== dk v5.0 CR 163 - Added Slot Availability. ===-->
  <xs:element name="DeliveryApptQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for for availablity of a particular appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:complexType>
              <xs:sequence>
                <xs:choice>
                  <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
                  <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
                  <xs:element name="SlotAvailibilty" type="mailxml:slotAvailibilityType"/>
                </xs:choice>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
                <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
                <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
                <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
                <xs:element minOccurs="0" name="AvailableSlots" type="mailxml:availableSlotType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt. Status Query Request ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptStatusQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for the status of a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mailxml:ApptStatusRequestMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt. Status Response ===-->
  <!--=== V5.0 dk error found, should be DeliveryApptUpdate not DeliveryApptUpdateRequest due to addition of submitting party/software==-->
  <xs:element name="DeliveryApptStatusQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for the status of a delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element ref="mailxml:DeliveryApptUpdate"/>
                <xs:element ref="mailxml:ConsigneeGoodsReceipt"/>
              </xs:choice>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Transportation Update Messages pt/dk V21. CR68===-->
  <!--=== Delivery Appt Transportation Update Request pt/dk V21. CR68===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptTransportationUpdateRequest" type="mailxml:deliveryApptTransportationUpdateRequestType">
    <xs:annotation>
      <xs:documentation>Request to update the transportation for a delivery appointment.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Delivery Appt Transportation Update Response pt/dk V21. CR68===-->
  <xs:element name="DeliveryApptTransportationUpdateResponse" type="mailxml:deliveryApptTransportationUpdateResponseType">
    <xs:annotation>
      <xs:documentation>Response to the request to update the transportation for a delivery appointment.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Delivery Appt Update ===-->
  <!-- Note that this model without Submitting Software/party added to support the status response ===-->
  <!-- dk V5.0 -->
  <xs:element name="DeliveryApptUpdate">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ApptBlockUpdate" type="mailxml:apptBlockUpdateType"/>
        <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ResponseApptUpdateMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Update Request===-->
  <!-- Note that this message cannot be used to update multistop information.  That is handled by a separate
    DeliveryApptMultiStopUpdate message -->
  <!--=== Added &quot;Request&quot; for consistency in V2.0 ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request to update a deliver appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
          <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
        </xs:choice>
        <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
        <xs:element minOccurs="0" name="ETA" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ResponseApptUpdateMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Update Response ===-->
  <xs:element name="DeliveryApptUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to update a deliver appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptUpdateAccept" type="mailxml:deliveryApptUpdateAcceptType">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
        </xs:element>
        <xs:element name="DeliveryApptUpdateReject" type="mailxml:deliveryApptUpdateRejectType">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Shell Element Definitions ===-->
  <!--=== Added in V2.0.  Response will be the DeliveryApptResponse and DeliveryApptUpdateResponse ===-->
  <!--===Delivery Appt Shell Cancel Messages ===-->
  <!--=== Delivery Appt Shell Cancel Request === dk v2.1 69-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptShellCancelRequest" type="mailxml:deliveryApptShellCancelRequestType">
    <xs:annotation>
      <xs:documentation>Request to cancel a delivery appointment shell to which content will be added later.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Delivery Appt Shell Cancel Response === dk v2.1 69-->
  <xs:element name="DeliveryApptShellCancelResponse" type="mailxml:deliveryApptShellCancelResponseType">
    <xs:annotation>
      <xs:documentation>Response to a request to cancel a delivery appointment shell to which content will be added later.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Delivery Appt Shell Create Request ===CR 78 v2.1 dk-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptShellCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a delivery appointment shell to which content will be added later.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element maxOccurs="unbounded" name="MailClass" type="mailxml_base:mailClassType"/>
        <xs:choice>
          <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
          <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
        </xs:choice>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Shell Create Response ===-->
  <xs:element name="DeliveryApptShellCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to create a delivery appointment shell to which content will be added later.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptShellCreateAccept" type="mailxml:deliveryApptShellAcceptType">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
        </xs:element>
        <xs:element name="DeliveryApptShellCreateReject" type="mailxml:deliveryApptShellRejectType">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Shell Update Request === CR 78 v2.1 dk-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryApptShellUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request to update a delivery appointment shell to which content will be added later.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element maxOccurs="unbounded" name="MailClass" type="mailxml_base:mailClassType"/>
        <xs:choice>
          <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
          <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
        </xs:choice>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Appt Shell Update Response ===-->
  <xs:element name="DeliveryApptShellUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to update a delivery appointment shell to which content will be added later.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptShellAccept" type="mailxml:deliveryApptShellAcceptType">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
        </xs:element>
        <xs:element name="DeliveryApptShellReject" type="mailxml:deliveryApptShellRejectType">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== DeliveryContentCancel Message Set === DK v2.1 CR65 -->
  <!--=== Updated V4.0 CR 148 to combine with standalone Content messages ===-->
  <!--=== Delivery Content Cancel Request DK v2.1 ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <!--=== V5.0 dk CR 155 and add flag to indicate content deletion ===-->
  <xs:element name="DeliveryContentCancelRequest" type="mailxml:deliveryContentCancelRequestType">
    <xs:annotation>
      <xs:documentation>Request to cancel delivery content.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Delivery  Content Cancel Response  DK v2.1 CR 65===-->
  <!--=== Updated V4.0 CR 148 to combine with standalone Content messages ===-->
  <!--=== V5.0 dk CR 155 and add flag to indicate content deletion ===-->
  <xs:element name="DeliveryContentCancelResponse" type="mailxml:deliveryContentCancelResponseType">
    <xs:annotation>
      <xs:documentation>Response to the request to to cancel delivery content.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Delivery  Content Create Element Definitions ===-->
  <!--=== Updated V4.0 CR 148 to combine with standalone Content messages ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <!--=== Delivery  Content Create Request ===-->
  <xs:element name="DeliveryContentCreateRequest">
    <xs:annotation>
      <xs:documentation>Request from the Shipper to the Consignee to create content for delivery.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element maxOccurs="unbounded" name="ContentDetailInfo" type="mailxml:contentDetailInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:DeliveryContentHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Content Create Response ===-->
  <!--=== Updated V4.0 CR 148 to combine with standalone Content messages ===-->
  <xs:element name="DeliveryContentCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to create content for delivery.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryContentAccept" type="mailxml:deliveryContentAcceptType"/>
        <xs:element name="DeliveryContentReject" type="mailxml:deliveryContentRejectType"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Content Query Element Definitions ===-->
  <!--=== Delivery Content Query Request ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryContentQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for delivery content.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:DeliveryContentQueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Content Query Response === CR 71, v2.1 dk-->
  <!--=== dk V4 CR 128, changed DetailInfo to ContentDetailInfo to combine messages ===-->
  <!--=== dk V4 Comment 17 changed DetailInfoUpdate to ContentDetailInfoUpdate ==-->
  <xs:element name="DeliveryContentQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for delivery content.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="ContentDetailInfoUpdate" type="mailxml:contentDetailInfoUpdateType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:DeliveryContentQueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Content Update Request ===-->
  <!--=== Updated V4.0 CR 148 to combine with standalone Content messages ===-->
  <!--=== V4.0 dk Comment 18, DeliveryContentUpdateRequest message should specifies contentDetailInfoUpdateType ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryContentUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request from the Shipper to the Consignee to update the content for delivery.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element maxOccurs="unbounded" name="ContentDetailInfoUpdate" type="mailxml:contentDetailInfoUpdateType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:DeliveryContentUpdateHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Content Update Response ===-->
  <!--=== Updated V4.0 CR 148 to combine with standalone Content messages ===-->
  <!--=== v4.0errata dk Comment#2 - Changed DeliveryContentUpdateAccept to deliveryContentUpdateAcceptType
                        - Changed DeliveryContentUpdateReject to deliveryContentUpdateRejectType ===-->
  <xs:element name="DeliveryContentUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request from the Shipper to the Consignee to update the content for delivery.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryContentUpdateAccept" type="mailxml:deliveryContentUpdateAcceptType"/>
        <xs:element name="DeliveryContentUpdateReject" type="mailxml:deliveryContentUpdateRejectType"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Point Validation ===-->
  <!--=== v6.0 dk separated from response ===-->
  <!--=== v6.0 dk Comment SM14, DK01 ===-->
  <xs:element name="DeliveryPointValidation">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="OriginalMailerID6" type="mailxml_base:mailerID6Type"/>
          <xs:element name="OriginalMailerID9" type="mailxml_base:mailerID9Type"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="InvalidDeliveryPointIMB" type="mailxml_base:iMBType"/>
        <xs:element name="PrimarySecondaryIndicator" type="mailxml_base:primarySecondaryIndicatorType"/>
        <xs:element name="DPVDataRecipientCRID" type="mailxml_base:CRIDType"/>
        <xs:element name="FullServiceComplianceIndicator" type="mailxml_base:fullServiceComplianceIndicatorType"/>
        <xs:element name="FullServiceNonComplianceReasonCode" type="mailxml_base:reasonCodeType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Point Validation Delivery ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v6.0 dk Comment SM07 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0 dk Comment SM14 ===-->
  <xs:element name="DeliveryPointValidationDelivery">
    <xs:annotation>
      <xs:documentation>Delivery of Delivery Point Validation by USPS.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:DeliveryPointValidation"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupOptionalType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Point Validation Notification ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 dk Comment SM114 ===-->
  <xs:element name="DeliveryPointValidationNotification">
    <xs:annotation>
      <xs:documentation>Notification by UPSP that Delivery Point Validation is ready for pickup.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Point Validation Query Request ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 dk SM01 made &quot;Query&quot;     ===-->
  <!--=== v6.0 dk Comment SM14 ===-->
  <!--=== v6.0A dk SM_18 SM09 ===-->
  <xs:element name="DeliveryPointValidationQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for USPS for delivery point validation.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="RequestorCRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:element name="OriginalMailerID6" type="mailxml_base:mailerID6Type"/>
          <xs:element name="OriginalMailerID9" type="mailxml_base:mailerID9Type"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="DateRange">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LowerDateRange" type="xs:date"/>
              <xs:element name="UpperDateRange" type="xs:date"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Point Validation Query Response ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0 dk Comment SM14, DK01 ===-->
  <xs:element name="DeliveryPointValidationQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for USPS for delivery point validation.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:DeliveryPointValidation"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Re-Appt Request===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="DeliveryReApptRequest">
    <xs:annotation>
      <xs:documentation>Request is sent from the Shipper to the Consignee if an appointment is cancelled and the Shipper wants to rebook the delivery using the same Consignee Appointment ID</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="ApptBlock" type="mailxml:apptBlockRequestType"/>
        <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Delivery Response===-->
  <!--=== This is returned by mailer for any delivery ===-->
  <!--=== v6.0 dk SM07 added Delivery ===-->
  <!--=== v6.0A dk SM_05 ===-->
  <xs:element name="DeliveryResponse">
    <xs:annotation>
      <xs:documentation>Response sent to USPS by a customer when any delivery is pushed.  For example when a delivery point validation delivery is pushed by USPS this response is returned by the receiver.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="DeliveryType" type="xs:string"/>
        <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Document Version Data With Permit ===-->
  <!--=== V5.0 dk                  ===-->
  <!--=== v6.0 dk RSS18 ===-->
  <xs:element name="DocumentVersionDataWithPermit">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="VersionID" type="mailxml_base:s10"/>
        <xs:element name="DocumentName" type="mailxml_base:s12"/>
        <xs:element minOccurs="0" name="DocumentDescription" type="mailxml_base:s30"/>
        <xs:element minOccurs="0" name="PieceWeight" type="xs:double"/>
        <xs:element minOccurs="0" name="AdPercent" type="mailxml_base:percentageType"/>
        <xs:element minOccurs="0" name="RateAffixed" type="xs:double"/>
        <xs:element minOccurs="0" name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
        <xs:element name="TotalCopies" type="xs:nonNegativeInteger"/>
        <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Document Version Data ===-->
  <!--===  v5.0 dk        ===-->
  <xs:element name="DocumentVersionData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="VersionId" type="mailxml_base:s10"/>
        <xs:element name="Name" type="mailxml_base:s12"/>
        <xs:element minOccurs="0" name="Description" type="mailxml_base:s30"/>
        <xs:element name="PieceWeight" type="xs:double"/>
        <xs:element minOccurs="0" name="AdPercent" type="mailxml_base:percentageType"/>
        <xs:element name="RateAffixed" type="xs:double"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--===Element E===-->
  <!--               -->
  <!--  ======       -->
  <!--=== End Combined Mailing Request ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="EndCombinedMailingRequest">
    <xs:annotation>
      <xs:documentation>Request to end/delete a combined mailing in which multiple postage payment methods (and or multiple permit numbers within the same payment method) are presorted together.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="CombinedMailingID" type="xs:nonNegativeInteger"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== End Combined Mailing Response ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="EndCombinedMailingResponse">
    <xs:annotation>
      <xs:documentation>Response from the USPS to a customer requesting to end a combined mailing.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="EndCombinedMailingAccept">
          <xs:annotation>
            <xs:documentation>
              Response from the USPS notifying a customer
              a combined mailing has been ended.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EndConfirmID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="CombinedMailingId" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="EndCombinedMailingReject">
          <xs:annotation>
            <xs:documentation>
              Response from the USPS notifying a customer
              a combined mailing could not be ended and why.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Extra Service Data ===-->
  <!--===  v5.0 dk        ===-->
  <xs:element name="ExtraServiceData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ServiceCode" type="mailxml_base:serviceCodeType"/>
        <xs:element minOccurs="0" name="ServiceRate" type="xs:double"/>
        <xs:element name="ServiceSubCode" type="mailxml_base:serviceSubCodeType"/>
        <xs:element name="ServiceValue" type="xs:double"/>
        <xs:element minOccurs="0" name="TotalAmount" type="xs:double"/>
        <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Extra Service Summary Data ===-->
  <!--===  v5.0 dk            ===-->
  <!-- Simple Data Holder for extraServiceSummaryDataType elements -->
  <xs:element name="ExtraServiceSummaryData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="LineLabel" type="mailxml_base:s80"/>
        <xs:element minOccurs="0" name="LineNumber" type="mailxml_base:s03"/>
        <xs:element minOccurs="0" name="Section" type="mailxml_base:s01"/>
        <xs:element name="ServiceCode" type="mailxml_base:serviceCodeType"/>
        <xs:element name="TotalAmount" type="xs:double"/>
        <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--===Element F===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Fault ===-->
  <xs:element name="Fault">
    <xs:annotation>
      <xs:documentation>A fault message.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence maxOccurs="unbounded">
        <xs:element name="FaultCode" type="mailxml_base:ns03"/>
        <xs:element minOccurs="0" name="FaultDescription" type="mailxml_base:s260"/>
      </xs:sequence>
      <xs:attribute name="TrackingID" type="mailxml_base:s12"/>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Address Correction ===-->
  <!--=== v6.0A separated from FSAC Query ===-->
  <xs:element name="FullServiceAddressCorrection">
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:choice>
          <xs:element name="OriginalMailerID6" type="mailxml_base:mailerID6Type"/>
          <xs:element name="OriginalMailerID9" type="mailxml_base:mailerID9Type"/>
        </xs:choice>
        <xs:element name="OriginalIMB" type="mailxml_base:iMBType"/>
        <xs:element name="RecordCreationDate" type="xs:date"/>
        <xs:element name="MoveEffectiveDate" type="xs:date"/>
        <xs:element minOccurs="0" name="MoveType" type="mailxml_base:addressCorrectionMoveType"/>
        <xs:element minOccurs="0" name="DeliverabilityCodeType" type="mailxml_base:deliverabilityCodeType"/>
        <xs:element name="COAName">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LastName" type="mailxml_base:s20"/>
              <xs:element name="FirstNameMiddleName" type="mailxml_base:s15"/>
              <xs:element name="prefix" type="mailxml_base:s15"/>
              <xs:element name="suffix" type="mailxml_base:s15"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KeylineFromEDoc" type="xs:string"/>
        <xs:element name="OldAddress" type="mailxml:addressCorrectionAddressType"/>
        <xs:element name="NewAddress" type="mailxml:addressCorrectionAddressType"/>
        <xs:element name="PrivateMailBox" type="mailxml_base:s37"/>
        <xs:element name="ClassNotificationType" type="mailxml_base:classNotificationType"/>
        <xs:element name="FeeNotification" type="mailxml_base:yesNo"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Address Correction Delivery ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v6.0 dk Comment SM07 added Delivery ===-->
  <!--=== v6.0A dk Errata SM07 SM_01 ===-->
  <xs:element name="FullServiceAddressCorrectionDelivery">
    <xs:annotation>
      <xs:documentation>Delivery of full service address correction delivery data from USPS.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element minOccurs="1" maxOccurs="unbounded" ref="mailxml:FullServiceAddressCorrection"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupOptionalType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Address Correction Notification ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <xs:element name="FullServiceAddressCorrectionNotification">
    <xs:annotation>
      <xs:documentation>Notification from UPSP that full service address correction data is ready to pick up.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Address Correction Query ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <xs:element name="FullServiceAddressCorrectionQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for full service address correction data.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="OwningParty" type="mailxml:participantIDType"/>
        <xs:element maxOccurs="unbounded" name="PieceRequest">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
              <xs:sequence minOccurs="0">
                <xs:element name="LowerIMBRange" type="mailxml_base:iMBType"/>
                <xs:element name="UpperIMBRange" type="mailxml_base:iMBType"/>
              </xs:sequence>
              <xs:choice>
                <xs:sequence>
                  <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
                  <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
                  <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                </xs:sequence>
              </xs:choice>
              <xs:element name="DateRange">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="LowerDateRange" type="xs:date"/>
                    <xs:element name="UpperDateRange" type="xs:date"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Address Correction Query Response ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0A dk Errata ib_01 and sm_01 ====-->
  <xs:element name="FullServiceAddressCorrectionQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query request for full service address correction data.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" ref="mailxml:LargeTransactionDividerResult"/>
              <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:FullServiceAddressCorrection"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Nixie Detail Delivery ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 dk Comment SM07 added Delivery ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0 dk Comment SM10, DK01 ===-->
  <xs:element name="FullServiceNixieDetailDelivery">
    <xs:annotation>
      <xs:documentation>Delivery from USPS of full service nixie detail.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element maxOccurs="unbounded" ref="mailxml:FullServiceNixieDetail"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupOptionalType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Nixie Detail Notification ===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <xs:element name="FullServiceNixieDetailNotification">
    <xs:annotation>
      <xs:documentation>Notification by USPS that full serivce nixie detail is ready for pickup.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Nixie Detail Query Request ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 dk SM01 made &quot;query&quot;        ===-->
  <!--=== v6.0A dk Errata SM_09 ===-->
  <xs:element name="FullServiceNixieDetailQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for full service nixie detail.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="RequestorCRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:element name="OriginalMailerID6" type="mailxml_base:mailerID6Type"/>
          <xs:element name="OriginalMailerID9" type="mailxml_base:mailerID9Type"/>
        </xs:choice>
        <xs:element maxOccurs="unbounded" name="PieceRequest">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
              <xs:sequence minOccurs="0">
                <xs:element name="LowerIMBRange" type="mailxml_base:iMBType"/>
                <xs:element name="UpperIMBRange" type="mailxml_base:iMBType"/>
              </xs:sequence>
              <xs:element name="DataRange">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="LowerDateRange" type="xs:date"/>
                    <xs:element name="UpperDateRange" type="xs:date"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:choice>
                <xs:sequence>
                  <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
                  <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
                  <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                </xs:sequence>
              </xs:choice>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Nixie Detail ===-->
  <!--=== v6.0 dk Comment DK01 made separate elements ===-->
  <xs:element name="FullServiceNixieDetail">
    <xs:annotation>
      <xs:documentation>Response to the Query request for full service nixie detail.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="OriginalMailerID6" type="mailxml_base:mailerID6Type"/>
          <xs:element name="OriginalMailerID9" type="mailxml_base:mailerID9Type"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="OriginalIMB" type="mailxml_base:iMBType"/>
        <xs:element name="RecordCreationDate" type="xs:date"/>
        <xs:element name="ActionCode" type="mailxml_base:actionCodeType"/>
        <xs:element name="ParsedAddressOnPiece" type="xs:string"/>
        <xs:element name="OnPieceCityStateZip" type="xs:string"/>
        <xs:element name="ReturnedToAddress" type="xs:string"/>
        <xs:element name="ReturnedToCityStateZip" type="xs:string"/>
        <xs:element name="ReasonCode" type="mailxml_base:reasonCodeType"/>
        <xs:element name="KeylineFromEDoc" type="xs:string"/>
        <xs:element name="ClassNotificationType" type="mailxml_base:classNotificationType"/>
        <xs:element name="FeeNotification" type="mailxml_base:yesNo"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Nixie Detail Query Response ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 dk SM01 made &quot;query&quot;        ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0 dk Comment SM10, DK01 ===-->
  <!--=== v6.0A dk Errata ib_01 ====-->
  <xs:element name="FullServiceNixieDetailQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for full service nixie detail.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" ref="mailxml:LargeTransactionDividerResult"/>
              <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:FullServiceNixieDetail"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Container Visibility Delivery ===-->
  <!--=== V6.0 dk changed name from Notification to Delivery SM07 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0 dk Comment SM08 ===-->
  <!--=== v6.0A dk Errata SM_09 ===-->
  <!--=== v6.0A dk Errata SM_06 ===-->
  <xs:element name="FullServiceContainerVisibilityDelivery">
    <xs:annotation>
      <xs:documentation>Delivery of full service container visibility information by uSPS.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element minOccurs="1" maxOccurs="unbounded" ref="mailxml:ContainerVisibilityEntry"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupOptionalType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Container Visibility Notification ===-->
  <!--=== added V5.0 dk ===-->
  <!--=== changed model SM07 when delivery was added ===-->
  <!--=== v6.0A dk Errata SM_06 ===-->
  <xs:element name="FullServiceContainerVisibilityNotification">
    <xs:annotation>
      <xs:documentation>Notification sent by USPS that full service container visibility information is ready for pickup.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Container Visibility Query Request ===-->
  <!--=== V5.0 dk ===-->
  <!--=== v6.0A dk Errata sm_08 ===-->
  <xs:element name="FullServiceContainerVisibilityQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for for full service container visisbility information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice minOccurs="0">
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:choice minOccurs="0">
          <xs:element name="ConsigneeApptID" type="mailxml_base:ns09"/>
          <xs:element name="CSADispatchNumber" type="mailxml_base:ns10"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="UniqueContainerBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
        <xs:element minOccurs="0" name="USPSInductionFacilityLocaleKey" type="mailxml_base:localeKeyType"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element name="CustomerContainerID" type="mailxml_base:s50"/>
          <xs:element name="ContainerID" type="mailxml_base:s06"/>
        </xs:choice>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Full Service Container Visibility Query Response ===-->
  <!--=== V5.0 dk ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== v6.0 dk Comment SM08 ===-->
  <!--=== v6.0A dk Errata SM_09 ib_01 ===-->
  <xs:element name="FullServiceContainerVisibilityQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the Query request for for full service container visisbility information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:sequence>
                  <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
                  <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
                  <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                </xs:sequence>
              </xs:choice>
              <xs:element minOccurs="0" ref="mailxml:LargeTransactionDividerResult"/>
              <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:ContainerVisibilityEntry"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupType"/>
    </xs:complexType>
  </xs:element>
  <!--===Element G===-->
  <!--               -->
  <!--  ======       -->
  <!--===  Response for Goods Receipt Messages===-->
  <!--=== Changed from Response in 2.0 for consistency with other response element names ===-->
  <xs:element name="GoodsReceiptResponse">
    <xs:annotation>
      <xs:documentation>Response to the consignee goods response message.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="OK">
          <xs:complexType/>
        </xs:element>
        <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--===Element H===-->
  <!--               -->
  <!--  ======       -->
  <!--===Element I===-->
  <!--               -->
  <!--  ======       -->
  <!--===Element J===-->
  <!--               -->
  <!--  ======       -->
  <!--===Element K===-->
  <!--               -->
  <!--  ======       -->
  <!--===Element L===-->
  <!--               -->
  <!--  ======       -->
  <!--===Large Transaction Divider Result===-->
  <!--=== v6.0A dk Errata ib_01 ib_02       ===-->
  <xs:element name="LargeTransactionDividerResult">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="unbounded" name="LargeTransactionDivider">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TrackingID" type="mailxml_base:s12"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Line Item Summary Data ===-->
  <xs:element name="LineItemSummaryData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="BarcodeRate" type="mailxml_base:barcodeRateType"/>
        <xs:element name="EntryDiscount" type="mailxml_base:entryDiscountType"/>
        <xs:element minOccurs="0" name="LineLabel" type="mailxml_base:s80"/>
        <xs:element minOccurs="0" name="LineNumber" type="mailxml_base:s03"/>
        <xs:element minOccurs="0" name="PiecePostage" type="xs:double"/>
        <xs:element minOccurs="0" name="PieceRate" type="xs:double"/>
        <xs:element name="PostageAmount" type="xs:double"/>
        <xs:element minOccurs="0" name="PoundPostage" type="xs:double"/>
        <xs:element minOccurs="0" name="PoundRate" type="xs:double"/>
        <xs:element name="PreparedAsSM" type="xs:boolean"/>
        <xs:element minOccurs="0" name="RateCategory" type="mailxml_base:rateCategoryType"/>
        <xs:element minOccurs="0" name="Section" type="mailxml_base:s01"/>
        <xs:element name="SurchargeType" type="mailxml_base:surchargeType"/>
        <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="TotalWeight" type="xs:double"/>
        <xs:element minOccurs="0" name="WeightBreakType" type="mailxml_base:weightBreakType"/>
        <xs:element minOccurs="0" name="Zone" type="mailxml_base:zoneType"/>
        <xs:element minOccurs="0" name="FlatRateIndicator" type="mailxml_base:flatRateIndicatorType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--===Element M===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Maildat Container Update Request ===-->
  <!--=== dk V4.0 added submitting party in comment resolution ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="MailDatContainerUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request to update Mail.dat container information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="1" maxOccurs="unbounded" name="SummaryRecordUpdate" type="mailxml:summaryRecordUpdateType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Maildat Container Update Response ===-->
  <xs:element name="MailDatContainerUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to update Mail.dat container information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="MailDatContainerUpdateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="1" maxOccurs="unbounded" name="SummaryRecordUpdate" type="mailxml:summaryRecordUpdateType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MailDatContainerUpdateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="1" maxOccurs="unbounded" name="SummaryRecordUpdate" type="mailxml:summaryRecordUpdateType"/>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Mailing Group Query Request ===-->
  <!--=== v5.0 DK CR 175 ===-->
  <!--=== v6.0 dk Comment SM13 ===-->
  <!--=== v6.0a dk Errata ja_01 ===-->
  <xs:element name="MailingGroupQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for mailing group identification information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLMailGroupRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Mailing Group Query Response ===-->
  <!--=== v5.0 DK CR 175 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <!--=== V6.0A dk Errata JA _02 ===-->
  <xs:element name="MailingGroupQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query request for mailing group identification information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="MailingGroup" type="mailxml:mailingGroupDataType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLMailGroupResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Mail Piece Cancel Request ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:element name="MailPieceCancelRequest" type="mailxml:mailPieceRequestType">
    <xs:annotation>
      <xs:documentation>Request to cancel a mail piece.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Mail Piece Cancel Response ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:element name="MailPieceCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to cancel a mail piece.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="MailPieceCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element name="MailPieceConfirmID" type="mailxml_base:s12"/>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MailPieceCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Mail Piece Create Request ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:element name="MailPieceCreateRequest" type="mailxml:mailPieceRequestType">
    <xs:annotation>
      <xs:documentation>Request to create a mail piece.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Mail Piece Create Response ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:element name="MailPieceCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to create a mailpiece.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="MailPieceCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element name="MailPieceConfirmID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MailPieceCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Mail Piece Update Request ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:element name="MailPieceUpdateRequest" type="mailxml:mailPieceRequestType">
    <xs:annotation>
      <xs:documentation>Request to update a mail piece.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <!--=== Mail Piece Update Response ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <!--=== v6.0 dk Comment 5110 atts for large transactions ===-->
  <xs:element name="MailPieceUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to update a mail piece.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="MailPieceUpdateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" ref="mailxml:LargeTransactionDividerResult"/>
              <xs:sequence maxOccurs="unbounded">
                <xs:element name="MailPieceConfirmID" type="mailxml_base:s12"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MailPieceUpdateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
      <xs:attributeGroup ref="mailxml:LargeTransactionDividerGroupType"/>
    </xs:complexType>
  </xs:element>
  <!--=== Message Response Retrieval Request ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="MessageResponseRetrievalRequest">
    <xs:annotation>
      <xs:documentation>Request to send responses once more when the response was interrupted by a system fault.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element maxOccurs="unbounded" name="MessageResponse" type="mailxml:messageResponseRetrievalRequestType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Message Response Retrieval Response === dk V2.1 CR 69-->
  <!--=== v4.0 dk per comment #10 made to conform to accept/reject format ===-->
  <xs:element name="MessageResponseRetrievalResponse">
    <xs:annotation>
      <xs:documentation>Response to the Message Response Retrieval Request that resends interrupted responses.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="MessageResponseRetrievalAccept" type="mailxml:messageResponseRetrievalResponseType"/>
        <xs:element name="MessageResponseRetrievalReject" type="mailxml:messageResponseNotAvailableResponseType"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--===Element N===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Notification Response===-->
  <!--=== This is returned by mailer for any notification ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0A dk Errata SM_04 ===-->
  <xs:element name="NotificationResponse">
    <xs:annotation>
      <xs:documentation>Standard response to a USPS notification to indicate the notification has been received.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
        <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--===Element O===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Open Appt Query Request ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="OpenApptQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for available delivery appointments.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
        <xs:element maxOccurs="unbounded" name="OptionalAppt" type="mailxml:optionalApptType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:QueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Open Appt Query Response ===-->
  <!--=== Changed from apptqueryResults at V3.0 dk ===-->
  <!--=== v6.0 dk Comment DK01 ===-->
  <xs:element name="OpenApptQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query request for available delivery appointments.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="AvailableAppt" type="mailxml:availableApptType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:QueryMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Open Mailing Group Request ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="OpenMailingGroupRequest">
    <xs:annotation>
      <xs:documentation>Request to open a Mailing Group as a method to allow USPS customers to organize documents in a manner that suits their business needs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="MailingGroupData" type="mailxml:mailingGroupDataType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLOpenMailGroupRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Open Mailing Group Response ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="OpenMailingGroupResponse">
    <xs:annotation>
      <xs:documentation>Response from USPS to the customer request to open a Mailing Group</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="OpenMailingGroupAccept">
          <xs:annotation>
            <xs:documentation>Response from USPS to the customer indicating that a Mailing Group was opened</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLOpenMailGroupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="OpenMailingGroupReject">
          <xs:annotation>
            <xs:documentation>Response from USPS to the customer indicating that a Mailing Group could not be opened and why.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PostOfficeOfMailingZip" type="mailxml_base:es5"/>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLOpenMailGroupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Original container Linkage Cancel Request    ===-->
  <!--=== CR 137, v4.0, dk; added submitting party for comment resolution      ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="OriginalContainerLinkageCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel the link between an original container to a sibling contnainer.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="LinkTransactionID" type="mailxml_base:s12"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Original container Linkage Cancel Response ===-->
  <!--=== CR 137, v4.0, dk              ===-->
  <xs:element name="OriginalContainerLinkageCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to cancel the link between an original container to a sibling contnainer.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="OriginalContainerLinkageCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="OriginalContainerLinkageCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Original Container Linkage Create Request  ===-->
  <!--=== CR 137, v4.0, dk; added submitting party per comment resolution   ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <!--=== v6.0A dk Errata sm_17 ===-->
  <xs:element name="OriginalContainerLinkageCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to link an original container with a sibling contnainer.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="OriginalContainer" type="mailxml:linkingContainerIDType"/>
        <xs:element maxOccurs="unbounded" name="LinkedContainer" type="mailxml:linkingContainerIDType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:OriginalContainerLinkageCreateHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Original Container Linkage Create Response  ===-->
  <!--=== CR 137, v4.0, dk                    ===-->
  <!--=== v6.0A dk Errata sm_17 ===-->
  <xs:element name="OriginalContainerLinkageCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to the request to link an original container with a sibling contnainer.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="LinkedContainerCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="OriginalContainer" type="mailxml:linkingContainerIDType"/>
              <xs:element maxOccurs="unbounded" name="LinkedContainer" type="mailxml:linkingContainerIDType"/>
              <xs:element name="LinkTransactionID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:OriginalContainerLinkageHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="LinkedContainerCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="OriginalContainer" type="mailxml:linkingContainerIDType"/>
              <xs:element maxOccurs="unbounded" name="LinkedContainer" type="mailxml:linkingContainerIDType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:OriginalContainerLinkageCreateHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--===Element P===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Partner Appt Query Request  ===-->
  <!--=== CR 80 dk v3.0 ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="PartnerApptQueryRequest">
    <xs:annotation>
      <xs:documentation>Request from a company such as a printer or logistics company to query appointments on behalf of their business partner such as the mail owner.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:PartnerApptRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Partner Appt Query Response - ===-->
  <!--=== CR 80 dk v3.0 ===-->
  <!--=== V6.0 dk Comment DK01===-->
  <xs:element name="PartnerApptQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the request from a company such as a printer or logistics company to query appointments on behalf of their business partner such as the mail owner.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:element name="ApptBlock" type="mailxml:PartnerApptBlockType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:PartnerApptRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Payment Message Query Request ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="PaymentMessageQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for a payment message.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:PostageMessageHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Payment Message Query Response ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="PaymentMessageQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query request for a payment message.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:element name="PaymentMessage">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="PostageStatementTransactionNumber" type="xs:string"/>
                      <xs:element name="CustomerReferenceTransactionNumber" type="xs:string"/>
                      <xs:element name="MailingFacility" type="xs:string"/>
                      <xs:element name="PostageAmountPaid" type="xs:double"/>
                      <xs:element name="DateOfTransaction" type="xs:date"/>
                      <xs:element name="TimeOfTransaction" type="xs:time"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:PostageMessageHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Periodical Line Item Data Data ===-->
  <!--===  v5.0 dk            ===-->
  <!--=== v6.0 dk comment 5105, 5107 ===-->
  <xs:element name="PeriodicalLineItemData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Copies" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="DiscountQty" type="xs:double"/>
        <xs:element minOccurs="0" name="DiscountType" type="mailxml_base:s01"/>
        <xs:element name="InOutCountyIndicator" type="mailxml_base:inCountyOutCountyIndicatorType"/>
        <xs:element minOccurs="0" name="LineLabel" type="mailxml_base:s80"/>
        <xs:element minOccurs="0" name="LineNumber" type="mailxml_base:s03"/>
        <xs:element minOccurs="0" name="NonCopies" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="PieceRate" type="xs:double"/>
        <xs:element minOccurs="0" name="Pieces" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="PostageAmount" type="xs:double"/>
        <xs:element minOccurs="0" name="PoundRate" type="xs:double"/>
        <xs:element minOccurs="0" name="RateCategory" type="mailxml_base:rateCategoryType"/>
        <xs:element minOccurs="0" name="Section" type="mailxml_base:s01"/>
        <xs:element minOccurs="0" name="SubreqCopies" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="Zone" type="mailxml_base:zoneType"/>
        <xs:element minOccurs="0" name="ContainerType" type="mailxml_base:containerType"/>
        <xs:element minOccurs="0" name="ChargableContainerLevel" type="mailxml_base:chargeableContainerLevelType"/>
        <xs:element minOccurs="0" name="ChargableBundleLevel" type="mailxml_base:chargeableBundleLevelType"/>
        <xs:element minOccurs="0" name="Bundles" type="xs:double"/>
        <xs:element minOccurs="0" name="ChargeableEntryLevel" type="mailxml_base:chargeableEntryLevelType"/>
        <xs:element minOccurs="0" name="Containers" type="xs:double"/>
        <xs:element minOccurs="0" name="MachinableFlag" type="mailxml_base:yesNo"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== PERIODICAL STATEMENT CANCEL REQUEST ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="PeriodicalStatementCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="StatementID" type="xs:nonNegativeInteger"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== PERIODICAL STATEMENT CANCEL RESPONSE ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="PeriodicalStatementCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to cancel a periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="PeriodicalStatementCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" name="StatementID" type="xs:nonNegativeInteger"/>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="PeriodicalStatementCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== PERIODICAL STATEMENT CREATE REQUEST ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="PeriodicalStatementCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="CreatePeriodicalStatement" type="mailxml:createPeriodicalStatementType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== PERIODICAL STATEMENT CREATE RESPONSE ===-->
  <!--=== Submitting Software ===-->
  <!--=== V5.0 dk CR 158 ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="PeriodicalStatementCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to create a periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="PeriodicalStatementCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:choice>
              <xs:sequence>
                <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
                <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
                <xs:element name="TotalPostage" type="xs:double"/>
                <xs:element name="TotalPostageDue" type="xs:double"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
              <xs:sequence>
                <xs:element name="TrackingID" type="mailxml_base:s12"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:choice>
            <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="PeriodicalStatementCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Periodical Statement Query Request ===-->
  <!--=== v5.0 DK ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="PeriodicalStatementQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for a periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
          <xs:element name="TrackingID" type="mailxml_base:s12"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Periodical Statement Query Response ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="PeriodicalStatementQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to a query request for a periodical statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="PeriodicalStatementData" type="mailxml:periodicalStatementDataType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Pickup Appt Cancel Request  ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="PickupApptCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a pickup delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:PickupResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Pickup Appt Cancel Response  ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <xs:element name="PickupApptCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to cancel a pickup delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:PickupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="DeliveryApptCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:PickupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Pickup Appt Create Request  ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="PickupApptCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a pickup delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="ApptBlock" type="mailxml:pickupApptBlockRequestType"/>
        <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:PickupRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Pickup Appt Create Response  ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <xs:element name="PickupApptCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to create a pickup delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="PickupApptCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ApptInfo" type="mailxml:pickupApptBlockResponseType"/>
              <xs:element name="DetailInfo" type="mailxml:detailInfoType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:PickupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="PickupApptCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ApptInfo" type="mailxml:pickupApptBlockRequestType"/>
              <xs:element name="DetailInfo" type="mailxml:detailInfoType"/>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:PickupRequestHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Pickup Appt Update Request  ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="PickupApptUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request to update a pickup delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="ApptBlock" type="mailxml:pickupApptBlockRequestType"/>
        <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:PickupResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Pickup Appt Update Response  ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <xs:element name="PickupApptUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to update a pickup delivery appointment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="PickupApptUpdateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ApptInfo" type="mailxml:pickupApptBlockResponseType"/>
              <xs:element name="DetailInfo" type="mailxml:detailInfoType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:PickupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="PickupApptUpdateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ApptInfo" type="mailxml:pickupApptBlockRequestType"/>
              <xs:element name="DetailInfo" type="mailxml:detailInfoType"/>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:PickupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Postage Adjustment Create Request===-->
  <!--=== V5.0 dk CR 120 ===-->
  <!--=== v6.0 dk crediDebitIndicator to creditDebitIndicator comment 5114 ===-->
  <!--=== v6.0 dk MS06 standardize names ===-->
  <!--=== v6.0A dk Errata sm_15 ===-->
  <xs:element name="PostageAdjustmentCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a postage adjustment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element maxOccurs="unbounded" name="PostageAdjustment">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PostageAdjustmentUserID" type="mailxml_base:s12"/>
              <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="RateType" type="mailxml_base:rateType"/>
              <xs:element name="AdjustmentDate" type="xs:date"/>
              <xs:element name="AdjustmentType" type="mailxml_base:adjustmentType"/>
              <xs:element name="AdjustmentAmount" type="xs:double"/>
              <xs:element name="CreditDebitIndicator" type="mailxml_base:creditDebitIndicator"/>
              <xs:element name="TotalPiecesAffected" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="UserComments" type="mailxml_base:s20"/>
              <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
              <xs:element minOccurs="0" name="AdjustmentStatus" type="mailxml_base:adjustmentStatusType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Postage Adjustment Create Response ===-->
  <!--=== V5.0 dk CR 120 ===-->
  <!--=== v6.0 dk Comment PT02 ===-->
  <!--=== v6.0 dk MS06 standardize names ===-->
  <!--=== v6.0A dk Errata sm_15 ===-->
  <xs:element name="PostageAdjustmentCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to create a postage adjustment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="PostageAdjustmentCreateAccept">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:choice>
                  <xs:sequence>
                    <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
                    <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
                  </xs:sequence>
                  <xs:sequence>
                    <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
                    <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                  </xs:sequence>
                </xs:choice>
                <xs:sequence maxOccurs="unbounded">
                  <xs:element name="PostageAdjustmentUserID" type="mailxml_base:s12"/>
                  <xs:element name="PostageAdjustmentConfirmID" type="mailxml_base:s12"/>
                  <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
                </xs:sequence>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="PostageAdjustmentCreateReject">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:choice>
                  <xs:sequence>
                    <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
                    <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
                  </xs:sequence>
                  <xs:sequence>
                    <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
                    <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                  </xs:sequence>
                </xs:choice>
                <xs:sequence maxOccurs="unbounded">
                  <xs:element name="PostageAdjustmentUserID" type="mailxml_base:s12"/>
                  <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
                </xs:sequence>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:choice>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== POSTAGE STATEMENT CANCEL REQUEST ===-->
  <!--=== V5.0 dk ===-->
  <xs:element name="PostageStatementCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a postage statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="StatementID" type="xs:nonNegativeInteger"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== POSTAGE STATEMENT CANCEL RESPONSE ===-->
  <!--=== V5.0 dk ===-->
  <!--=== v6.0 dk Comment PT03 ===-->
  <!--=== v6.0a dk Errata RS_01 ===-->
  <xs:element name="PostageStatementCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to cancel a postage statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="PostageStatementCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
              <xs:sequence minOccurs="0">
                <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
                <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
              </xs:sequence>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="PostageStatementCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLMsgResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Postage Statement Create Request ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="PostageStatementCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a postage statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="CreatePostageStatement" type="mailxml:createPostageStatementType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== POSTAGE STATEMENT CREATE RESPONSE ===-->
  <!--=== V5.0 dk                  ===-->
  <!--=== v6.0a dk Errata rs_01 ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="PostageStatementCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to create a postage statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="PostageStatementCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:choice>
              <xs:sequence>
                <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
                <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
                <xs:element name="TotalPostage" type="xs:double"/>
                <xs:element name="TotalPostageDue" type="xs:double"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
              <xs:sequence>
                <xs:element name="TrackingID" type="mailxml_base:s12"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:choice>
            <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="PostageStatementCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Posage Statement Line Item Data ===-->
  <!--===  v5.0 dk                ===-->
  <!--=== v6.0 dk change to MailXMLContainerType ===-->
  <xs:element name="PostageStatementLineItemData">
    <xs:annotation>
      <xs:documentation/>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="BarcodeRate" type="mailxml_base:barcodeRateType"/>
        <xs:element minOccurs="0" name="ContainerDisplayName" type="mailxml_base:s50"/>
        <xs:element minOccurs="0" name="CustomerContainerID" type="mailxml_base:s50"/>
        <xs:element name="EntryDiscount" type="mailxml_base:entryDiscountType"/>
        <xs:element minOccurs="0" name="EntryFacilityType" type="mailxml_base:entryFacilityType"/>
        <xs:element minOccurs="0" name="EntryZip" type="mailxml_base:zipCodeThreeOrFiveDigit"/>
        <xs:element name="HeavyLetter" type="xs:boolean"/>
        <xs:element minOccurs="0" name="LineLabel" type="mailxml_base:s80"/>
        <xs:element minOccurs="0" name="LineNumber" type="mailxml_base:s03"/>
        <xs:element minOccurs="0" name="PieceRate" type="xs:double"/>
        <xs:element minOccurs="0" name="PostageAmount" type="xs:double"/>
        <xs:element minOccurs="0" name="PoundRate" type="xs:double"/>
        <xs:element name="PreparedAsSM" type="xs:boolean"/>
        <xs:element minOccurs="0" name="RateCategory" type="mailxml_base:rateCategoryType"/>
        <xs:element minOccurs="0" name="Section" type="mailxml_base:s01"/>
        <xs:element name="SinglePieceWeight" type="xs:double"/>
        <xs:element name="SurchargeType" type="mailxml_base:surchargeType"/>
        <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
        <xs:element minOccurs="0" name="TotalWeight" type="xs:double"/>
        <xs:element minOccurs="0" name="Zone" type="mailxml_base:zoneType"/>
        <xs:element minOccurs="0" name="VersionID" type="mailxml_base:s10"/>
        <xs:element minOccurs="0" name="ContainerType" type="mailxml_base:mailXMLContainerType"/>
        <xs:element minOccurs="0" name="FlatRateIndicator" type="mailxml_base:flatRateIndicatorType"/>
        <xs:element name="SinglePieceDimensionalWeight" type="xs:double"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Postage Statement Query Request Type ===-->
  <!--=== v5.0 DK ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="PostageStatementQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for a postage statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
          <xs:element name="TrackingID" type="mailxml_base:s12"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Postage Statement Query Response ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="PostageStatementQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query for a postage statement.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="PostageStatementData" type="mailxml:postageStatementDataType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLPostageStatementResponseHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Postage Statement Status Query Request===-->
  <!--=== V5.0 dk CR 175 ===-->
  <!--=== V6.0 dk RSS27 ===-->
  <xs:element name="PostageStatementStatusQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for postage statement status.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="StatementID" type="xs:nonNegativeInteger"/>
        <xs:element name="MailingFacility" type="mailxml_base:s10"/>
        <xs:element minOccurs="0" name="QualificationReportClass" type="mailxml_base:qualificationReportClassType"/>
        <xs:element minOccurs="0" name="BeginDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="EndDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="Preparer" type="mailxml:permitPublicationDataType"/>
        <xs:element minOccurs="0" name="PermitHolder" type="mailxml:permitPublicationDataType"/>
        <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
        <xs:element minOccurs="0" name="IssueBeginDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="IssueEndDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:ns06"/>
        <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:ns05"/>
        <xs:element minOccurs="0" name="DestinationFacilityZip" type="mailxml_base:s09"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLDashboardHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Postage Statement Status Query Response ===-->
  <!--=== v6.0a dk Errata rs_01 ===-->
  <xs:element name="PostageStatementStatusQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query for postage statement status.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation/>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence maxOccurs="unbounded">
                <xs:element minOccurs="0" maxOccurs="unbounded" name="MailingGroup" type="mailxml:mailingGroupDataType"/>
                <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
                <xs:element maxOccurs="unbounded" name="PostageStatementSummary" type="mailxml:postageStatementSummaryType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLDashboardHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--===Element Q===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Qualification Report Create Request ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:element name="QualificationReportCreateRequest">
    <xs:annotation>
      <xs:documentation>Request by a USPS customer for USPS to create a  Qualification Report that is used to submit standardized documentation compliant with the DMM 708.1.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="OnePassPlannedOrActualFlag" type="mailxml_base:onePassPlannedOrActualFlagType"/>
        <xs:element name="QualificationReport" type="mailxml:qualificationReportDataType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLQualReportRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Qualification Report Create Response ===-->
  <!--=== V5.0 dk                  ===-->
  <!--=== v6.0 dk added TrackingID per RSS21 ===-->
  <!--=== V6.0A dk Errata ib02 ===-->
  <xs:element name="QualificationReportCreateResponse">
    <xs:annotation>
      <xs:documentation>Response from USPS to a customer request to create a Qualification Report.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QualificationReportCreateAccept">
          <xs:annotation>
            <xs:documentation>
              Response from USPS indicating that a
              Qualification Report was created.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" name="CustomerQualificationReportID" type="mailxml_base:s66"/>
              <xs:element name="TrackingID" type="mailxml_base:s12"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLQualReportResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="QualificationReportCreateReject">
          <xs:annotation>
            <xs:documentation>
              Response from USPS indicating that a
              Qualification Report could not be created and why.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:MailXMLQualReportResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Qual Report Query Request===-->
  <!--=== V5.0 dk CR 179 ===-->
  <xs:element name="QualificationReportQueryRequest">
    <xs:annotation>
      <xs:documentation>A request from a USPS customer for Qualification Report Data.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="MailingFacility" type="mailxml_base:s10"/>
        <xs:element minOccurs="0" name="PostageStatementStatus" type="mailxml_base:postageStatementStatusType"/>
        <xs:element minOccurs="0" name="QualificationReportClass" type="mailxml_base:qualificationReportClassType"/>
        <xs:element minOccurs="0" name="CustomerQualificationReportID" type="mailxml_base:s66"/>
        <xs:element minOccurs="0" name="BeginDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="EndDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="Preparer" type="mailxml:permitPublicationDataType"/>
        <xs:element minOccurs="0" name="PermitHolder" type="mailxml:permitPublicationDataType"/>
        <xs:element minOccurs="0" name="IssueBeginDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="IssueEndDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:ns06"/>
        <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:ns05"/>
        <xs:element name="DestinationFacilityZip" type="mailxml_base:s09"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLMessageHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Qualification Report Query Response ===-->
  <!--=== v5.0 DK CR 175 ===-->
  <xs:element name="QualificationReportQueryResponse">
    <xs:annotation>
      <xs:documentation>A response from USPS to the request for Qualification Report data.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:annotation>
              <xs:documentation>
                USPS provided
                Qualification Report data
              </xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="QualificationReport" type="mailxml:qualificationReportDataType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLMessageHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Query Error ===-->
  <xs:element name="QueryError">
    <xs:annotation>
      <xs:documentation>Error issued when the query data cannot be provided.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--===Element R===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Reconciliation Report Query Request===-->
  <!--=== V5.0 dk CR 175 ===-->
  <xs:element name="ReconciliationReportQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for a reconciliation report.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="QualificationReportClass" type="mailxml_base:qualificationReportClassType"/>
        <xs:element minOccurs="0" name="BeginDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="EndDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="Preparer" type="mailxml:permitPublicationDataType"/>
        <xs:element minOccurs="0" name="PermitHolder" type="mailxml:permitPublicationDataType"/>
        <xs:element minOccurs="0" name="IssueBeginDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="IssueEndDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:ns06"/>
        <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:ns05"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLDashboardHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Reconciliation Report Query Response===-->
  <!--=== V5.0 dk CR 175 ===-->
  <xs:element name="ReconciliationReportQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query for a reconciliation report.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element name="QueryResults">
            <xs:complexType>
              <xs:sequence maxOccurs="unbounded">
                <xs:element name="MailingGroupSummary">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="MailerJobID" type="mailxml_base:s12"/>
                      <xs:element name="BeginDate" type="xs:dateTime"/>
                      <xs:element name="EndDate" type="xs:dateTime"/>
                      <xs:element name="OpenDate" type="xs:dateTime"/>
                      <xs:element name="CloseDate" type="xs:dateTime"/>
                      <xs:element name="PreparerName" type="xs:string"/>
                      <xs:element name="PreparerCRID" type="mailxml_base:CRIDType"/>
                      <xs:element name="Origin" type="xs:string"/>
                      <xs:element name="Description" type="xs:string"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="QualificationSummaryReport">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="RateCategory" type="xs:string"/>
                      <xs:element name="Pieces" type="xs:nonNegativeInteger"/>
                      <xs:element name="ClosedPieces" type="xs:nonNegativeInteger"/>
                      <xs:element name="FormType" type="mailxml_base:s02"/>
                      <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
                      <xs:element name="TotalClosedPieces" type="xs:nonNegativeInteger"/>
                      <xs:element name="PostageStatements">
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="Line" type="mailxml_base:s02"/>
                            <xs:element name="USPSProcessingDue">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="Pieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                  <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="TotalPostage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="Finalized">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="Pieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                  <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="TotalPostage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element minOccurs="0" maxOccurs="unbounded" name="ReconciliationReport">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="QualificationReports">
                        <xs:annotation>
                          <xs:documentation/>
                        </xs:annotation>
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                            <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                            <xs:element name="Postage" type="xs:double"/>
                            <xs:element name="ClosedContainers">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="PostageStatementsCanceled">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="PostageStatementsUSPSProcessingDue">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="PostageStatementsReworked">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="PostageStatementsFinalized">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="PostageStatementsReversed">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="PostageStatementsNotAvailable">
                              <xs:complexType>
                                <xs:sequence>
                                  <xs:element name="OriginalPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="ActualPieces" type="xs:nonNegativeInteger"/>
                                  <xs:element name="Postage" type="xs:double"/>
                                </xs:sequence>
                              </xs:complexType>
                            </xs:element>
                            <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
                            <xs:element name="TotalActualPieces" type="xs:nonNegativeInteger"/>
                            <xs:element name="TotalPostage" type="xs:double"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element ref="mailxml:QueryError"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:MailXMLDashboardHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Recurring Appt Query Request ===-->
  <!--=== added opt. Consignee Facility per Comment Resolution v4.0  dk ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="RecurringApptQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for recurring appointment information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:RecurringApptQueryRequestHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Recurring Appt Query Request ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="RecurringApptQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query for recurring appointment information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="1" maxOccurs="unbounded" name="RecurringApptBlock" type="mailxml:recurringApptBlockType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--===Element S===-->
  <!--               -->
  <!--  ======       -->
  <!--===  Scheduled Appt ===-->
  <xs:element name="ScheduledAppt" type="xs:dateTime"/>
  <!--=== Sibling container Cancel Request    ===-->
  <!--=== CR 116, v3.0, dk              ===-->
  <!--=== v4.0, dk added submitting party                ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="SibilingContainerCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a sibling container.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="OriginalContainer" type="mailxml:mailDatContainerIDType"/>
        <xs:element maxOccurs="unbounded" name="SiblingToDelete" type="mailxml:mailDatContainerIDType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Sibling container Cancel Response ===-->
  <!--=== CR 116, v3.0, dk              ===-->
  <!--=== v4.0 dk made consistent with response accept/reject form ===-->
  <!--=== v5.0 dk made consistent with other accept/reject mgsg ===-->
  <xs:element name="SiblingContainerCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to cancel a sibling container.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="SiblingContainerCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:SiblingIdentifierHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="SiblingContainerCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:SiblingIdentifierHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Sibling Container Create Request  ===-->
  <!--=== CR 116, v3.0, dk                ===-->
  <!--=== v4.0, dk added submitting party                ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="SiblingContainerCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a uniquely identified sibling container by adding a sibling container to an existing Mail.dat.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element name="OriginalContainer" type="mailxml:mailDatContainerIDType"/>
        <xs:element maxOccurs="unbounded" name="NewSiblingContainer" type="mailxml:mailDatContainerIDType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Sibling Container Create Response  ===-->
  <!--=== CR 116, v3.0, dk                       ===-->
  <xs:element name="SiblingContainerCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to create a uniquely identified sibling container by adding a sibling container to an existing Mail.dat</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="SiblingContainerCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="NewSiblingContainer" type="mailxml:mailDatContainerIDType"/>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SibilingContainerCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="OriginalContainer" type="mailxml:mailDatContainerIDType"/>
              <xs:element maxOccurs="unbounded" name="RejectedSiblingContainer" type="mailxml:mailDatContainerIDType"/>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== Start the Clock Delivery ===-->
  <!--=== All content is PUSHED by PostalOne ===-->
  <!--=== v6.0 dk Comment sM07 ===-->
  <!--=== v6.0A dk Comment SM_06 ===-->
  <xs:element name="StartTheClockDelivery">
    <xs:annotation>
      <xs:documentation>Delivery of start the clock information to customer by USPS.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:element name="ClockStarted" type="mailxml:clockStartedType"/>
        </xs:sequence>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Start the Clock Notification ===-->
  <!--=== All content is PUSHED by PostalOne ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <!--=== v6.0 changed name to Delivery per SM07, Created new Notification Model ===-->
  <!--=== V6.0A dk Errata SM_06 ===-->
  <xs:element name="StartTheClockNotification">
    <xs:annotation>
      <xs:documentation>Notification from USPS that start the clock information is ready to be picked up.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Start the Clock Query Request ===-->
  <!--=== V5.0 dk CR 153 ===-->
  <!--=== v6.0 dk Comment PT04 ===-->
  <!--=== v6.0 dk Comment SM08 ===-->
  <xs:element name="StartTheClockQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for start the clock information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:choice minOccurs="0">
          <xs:element name="ConsigneeApptID" type="mailxml_base:s12"/>
          <xs:element name="CSADispatchNumber" type="mailxml_base:ns10"/>
        </xs:choice>
        <xs:choice minOccurs="0">
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
          <xs:element name="CustomerAccount" type="mailxml:permitPublicationDataType"/>
        </xs:choice>
        <xs:element name="LowerDateRange" type="xs:date"/>
        <xs:element name="UpperDateRange" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Start the Clock Query Response ===-->
  <!--=== V5.0 dk CR 153 ===-->
  <!--=== v6.0A dk Errata ib_01 ===-->
  <xs:element name="StartTheClockQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to the query for start the clock information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element minOccurs="0" ref="mailxml:LargeTransactionDividerResult"/>
              <xs:choice>
                <xs:sequence>
                  <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
                  <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
                </xs:sequence>
                <xs:sequence>
                  <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
                  <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
                </xs:sequence>
              </xs:choice>
              <xs:sequence maxOccurs="unbounded">
                <xs:element name="ClockStarted" type="mailxml:clockStartedType"/>
                <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              </xs:sequence>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== System Software Version Query Request ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="SystemVersionQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for the receiving system version information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== System Software Version Query Response ===-->
  <!--=== v5.0 DK ===-->
  <xs:element name="SystemVersionQueryResponse">
    <xs:annotation>
      <xs:documentation>Responnse to a query for the receiving system version information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SoftwareStatus" type="mailxml:submittingSoftwareType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--===Element T===-->
  <!--               -->
  <!--  ======       -->
  <!--===Element U===-->
  <!--               -->
  <!--  ======       -->
  <!--=== Unscheduled Consignee Goods Receipt ===-->
  <xs:element name="UnscheduledConsigneeGoodsReceipt">
    <xs:annotation>
      <xs:documentation>A report or message indicating delivery closeout status for an unscheduled delivery.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ApptBlockUnscheduledGoodsReceipt" type="mailxml:apptBlockUnscheduledGoodsType"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:UnscheduledResponseMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== Unscheduled Consignee Goods Receipt Delivery===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v6.0 dk added Delivery per SM07 ===-->
  <xs:element name="UnscheduledConsigneeGoodsReceiptDelivery">
    <xs:annotation>
      <xs:documentation>Delivery by the USPS of an unscheduled consignee goods receipt.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="ApptBlockUnscheduledGoodsReceipt" type="mailxml:apptBlockUnscheduledGoodsType"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
        <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== Unscheduled Consignee Goods Receipt Notification===-->
  <!--=== This is PUSHED by PostalOne ===-->
  <!--=== v5.0 dk CR 148 / 151 ===-->
  <xs:element name="UnscheduledConsigneeGoodsReceiptNotification">
    <xs:annotation>
      <xs:documentation>Notification by USPS that an unscheduled consignee goods receipt is ready for pickup.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
        <xs:choice>
          <xs:sequence>
            <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
            <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
            <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          </xs:sequence>
        </xs:choice>
        <xs:element name="NotificationDate" type="xs:date"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== USPS CRID Create Request ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:element name="USPSCRIDCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to the USPS to create one or more CRIDs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element maxOccurs="unbounded" name="CRIDEntry" type="mailxml:CRIDEntryType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== USPS CRID Create Response ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:element name="USPSCRIDCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to the USPS to create one or more CRIDs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="USPSCRIDCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element name="CRIDCreateRequestID" type="mailxml_base:s12"/>
              <xs:element name="CRIDEntry" type="mailxml:CRIDEntryType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="USPSCRIDCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== USPS CRID Query Request ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:element name="USPSCRIDQueryRequest">
    <xs:annotation>
      <xs:documentation>Query Request for uSPS CRID information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element maxOccurs="unbounded" name="CRIDsRequested" type="mailxml:cRIDsRequestedType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== USPS CRID Query Response ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <!--=== v6.0 dk Comment PT05 CRID required ===-->
  <!--=== v6.0 dk Comment DK01 ===-->
  <xs:element name="USPSCRIDQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to a query for USPS CRID information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:element name="CRIDRequestID" type="mailxml_base:s12"/>
              <xs:element name="CRID" type="mailxml_base:CRIDType"/>
              <xs:element name="CRIDEntry" type="mailxml:CRIDEntryType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== USPS Forecast Cancel Request  ===-->
  <!--=== CR 87, v3.0, dk              ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="USPSForecastCancelRequest">
    <xs:annotation>
      <xs:documentation>Request to cancel a USPS forecast.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== USPS Forecast Cancel Response  ===-->
  <!--=== CR 87, v3.0, dk              ===-->
  <xs:element name="USPSForecastCancelResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to cancel a USPS forecast.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element name="DeliveryApptCancelAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="DeliveryApptCancelReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== USPS Forecast Create Request  ===-->
  <!--=== CR 88, v3.0, dk              ===-->
  <!--=== V5.0 dk CR 119 &amp; 158            ===-->
  <xs:element name="USPSForecastCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to create a USPS Forecast.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element name="ContainerDestination3digitZIP" type="mailxml_base:ns03"/>
            <xs:element name="ContainerDestination5digitZIP" type="mailxml_base:ns05"/>
          </xs:choice>
          <xs:element name="InductionDate" type="xs:date"/>
          <xs:element name="NumberOfPieces" type="xs:nonNegativeInteger"/>
          <xs:element minOccurs="0" name="TotalWeight" type="xs:nonNegativeInteger"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:USPSForecastMsgHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== USPS Forecast Create Response  ===-->
  <!--=== CR 88, v3.0, dk              ===-->
  <!--=== dk v4.0 updatead to be consistent with other create/response msgs ===-->
  <xs:element name="USPSForecastCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to create a USPS Forecast.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="USPSForecastCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:element name="ContainerDestination3digitZIP" type="mailxml_base:ns03"/>
                <xs:element name="ContainerDestination5digitZIP" type="mailxml_base:ns05"/>
              </xs:choice>
              <xs:element name="InductionDate" type="xs:date"/>
              <xs:element name="NumberOfPieces" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="TotalWeight" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="USPSForcastCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== USPS Forecast Update Request      ===-->
  <!--=== CR 89, v3.0, dk              ===-->
  <!--=== V5.0 dk CR 119 &amp; 158          ===-->
  <xs:element name="USPSForecastUpdateRequest">
    <xs:annotation>
      <xs:documentation>Request to update a USPS Forecast.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element name="ContainerDestination3digitZIP" type="mailxml_base:ns03"/>
            <xs:element name="ContainerDestination5digitZIP" type="mailxml_base:ns05"/>
          </xs:choice>
          <xs:element name="InductionDate" type="xs:date"/>
          <xs:element name="NumberOfPieces" type="xs:nonNegativeInteger"/>
          <xs:element minOccurs="0" name="TotalWeight" type="xs:nonNegativeInteger"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
    </xs:complexType>
  </xs:element>
  <!--=== USPS Forecast Update Response      ===-->
  <!--=== CR 89, v3.0, dk              ===-->
  <xs:element name="USPSForecastUpdateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to update a USPS Forecast.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="USPSForecastUpdateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:element name="ContainerDestination3digitZIP" type="mailxml_base:ns03"/>
                <xs:element name="ContainerDestination5digitZIP" type="mailxml_base:ns05"/>
              </xs:choice>
              <xs:element name="InductionDate" type="xs:date"/>
              <xs:element name="NumberOfPieces" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="TotalWeight" type="xs:nonNegativeInteger"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element name="USPSForcastUpdateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
            <xs:attributeGroup ref="mailxml:USPSForecastAcceptHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== USPS MID Create Request ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:element name="USPSMIDCreateRequest">
    <xs:annotation>
      <xs:documentation>Request to USPS to create MID information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element maxOccurs="unbounded" name="MIDEntry" type="mailxml:midEntryType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== USPS MID Create Response ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:element name="USPSMIDCreateResponse">
    <xs:annotation>
      <xs:documentation>Response to a request to USPS to create MID information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="USPSMIDCreateAccept">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MIDEntry" type="mailxml:midEntryType"/>
              <xs:choice>
                <xs:element name="MIDCreateRequestID" type="mailxml_base:s12"/>
                <xs:element name="MID" type="mailxml:MIDType"/>
              </xs:choice>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="USPSMIDCreateReject">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
              <xs:element name="MIDEntry" type="mailxml:midEntryType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--=== USPS MID Query Request ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:element name="USPSMIDQueryRequest">
    <xs:annotation>
      <xs:documentation>Query request for USPS MID information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
        <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
        <xs:element maxOccurs="unbounded" name="MIDRequested">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MIDCreateRequestID" type="mailxml_base:s12"/>
              <xs:choice>
                <xs:sequence>
                  <xs:element name="CustomerName" type="mailxml_base:s40"/>
                  <xs:element name="Address" type="mailxml:addressType"/>
                </xs:sequence>
                <xs:element name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
                <xs:element name="CustomerCRID" type="mailxml_base:CRIDType"/>
              </xs:choice>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!--=== USPS MID  Query Response         ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:element name="USPSMIDQueryResponse">
    <xs:annotation>
      <xs:documentation>Response to a query for USPS MID information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="QueryResults">
          <xs:annotation>
            <xs:documentation/>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MIDCreateRequestID" type="mailxml_base:s12"/>
              <xs:element name="MIDEntry" type="mailxml:midEntryType"/>
              <xs:element name="MID" type="mailxml:MIDType"/>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!--===Element V===-->
  <!--               -->
  <!--  ======       -->
  <!--===Element W===-->
  <!--               -->
  <!--  ======       -->
  <!--===Element Y===-->
  <!--               -->
  <!--  ======       -->
  <!--===ComplexType A===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Address Type ===-->
  <xs:complexType name="addressType">
    <xs:sequence>
      <xs:element name="Address1" type="mailxml_base:s64"/>
      <xs:element minOccurs="0" name="Address2" type="mailxml_base:s64"/>
      <xs:element minOccurs="0" name="Address3" type="mailxml_base:s40"/>
      <xs:element minOccurs="0" name="Address4" type="mailxml_base:s40"/>
      <xs:element name="City" type="mailxml_base:s45"/>
      <xs:element minOccurs="0" name="County" type="mailxml_base:s45"/>
      <xs:element name="State" type="mailxml_base:stateCode"/>
      <xs:element name="ZipCode" type="mailxml:zipCode"/>
      <xs:element minOccurs="0" name="GPSCoordinates" type="mailxml:gPSCoordinates"/>
    </xs:sequence>
    <xs:attribute name="CommunicationRole" type="mailxml_base:communicationRoleType"/>
  </xs:complexType>
  <!--=== Actual Bedload type ===-->
  <!--=== V5.0 dk ===-->
  <xs:complexType name="actualBedloadType">
    <xs:sequence>
      <xs:choice>
        <xs:element name="ActualBedloadPercent" type="xs:nonNegativeInteger"/>
        <xs:element name="ActualBedloadCount" type="xs:nonNegativeInteger"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="HandlingUnit" type="mailxml_base:palletHandlingUnitType" use="required"/>
  </xs:complexType>
  <!--=== Actual Pallet Type ===-->
  <!--=== V5.0 dk ===-->
  <xs:complexType name="actualPalletType">
    <xs:sequence>
      <xs:element name="ActualPalletCount" type="xs:nonNegativeInteger"/>
    </xs:sequence>
    <xs:attribute name="HandlingUnit" type="mailxml_base:palletHandlingUnitType" use="required"/>
  </xs:complexType>
  <!--=== Abstract Periodical Statement Data Type  ===-->
  <!--=== v5.0 DK ===-->
  <!--=== v6.0 dk comment 5109 ===-->
  <xs:complexType name="abstractPeriodicalStatementDataType" abstract="true">
    <xs:sequence>
      <xs:element name="AdvertisingPercentage" type="mailxml_base:percentageType"/>
      <xs:element minOccurs="0" name="AutomationAddressMatchDate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="CustomerReferenceID" type="mailxml_base:s40"/>
      <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
      <xs:element minOccurs="0" name="CarrierRouteAddressMatchDate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="CarrierRouteSequencingDate" type="xs:dateTime"/>
      <xs:element name="CertificationData" type="mailxml:certificationDataType"/>
      <xs:element name="ContainerCount" type="mailxml:containerCountType"/>
      <xs:element minOccurs="0" name="CopyWeight" type="xs:double"/>
      <xs:element minOccurs="0" name="EditionCode" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" name="FirstIssueDate" type="xs:dateTime"/>
      <xs:element name="FormType" type="mailxml_base:formType"/>
      <xs:element name="IssueDate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="IssueFrequency" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" name="IssuesInMonth" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" name="LastIssueDate" type="xs:dateTime"/>
      <xs:element name="MailingDate" type="xs:dateTime"/>
      <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
      <xs:element name="Over10" type="xs:boolean"/>
      <xs:element name="LimitedCirculationDiscountClaimed" type="mailxml_base:yesNo"/>
      <xs:element maxOccurs="unbounded" ref="mailxml:PeriodicalLineItemData"/>
      <xs:element name="PeriodicalStatementType" type="mailxml_base:periodicalStatementType"/>
      <xs:element name="PostOfficeOfMailingZip" type="mailxml_base:es5"/>
      <xs:element name="PostagePaymentMethod" type="mailxml_base:postagePaymentMethodType"/>
      <xs:element minOccurs="0" name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
      <xs:element minOccurs="0" name="PublicationTitle" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="RateType" type="mailxml_base:rateType"/>
      <xs:element minOccurs="0" name="SheetWeight" type="xs:double"/>
      <xs:element name="SingleRideAlongWeight" type="xs:double"/>
      <xs:element minOccurs="0" name="StatementSequenceNumber" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" name="EntryFacilityType" type="mailxml_base:entryFacilityType"/>
      <xs:element minOccurs="0" name="EntryZip" type="mailxml_base:es5"/>
      <xs:element minOccurs="0" name="AgencyCostCode" type="mailxml_base:agencyCostCodeType"/>
      <xs:element minOccurs="0" name="PeriodicalCombinedMailingData" type="mailxml:periodicalCombinedMailingDataType"/>
      <xs:element name="RepositionableNotesIndicator" type="xs:boolean"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:DocumentVersionData"/>
      <xs:element minOccurs="0" name="ForConsolidation" type="xs:boolean"/>
      <xs:element minOccurs="0" name="MoveUpdate" type="mailxml_base:moveUpdateType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Abstract Postage Statement Data Type ===-->
  <!--===  v5.0 dk                ===-->
  <!--=== v6.0 dk Comment RSS10, RSS28 ===-->
  <xs:complexType name="abstractPostageStatementDataType" abstract="true">
    <xs:sequence>
      <xs:element minOccurs="0" name="AgencyCostCode" type="mailxml_base:agencyCostCodeType"/>
      <xs:element minOccurs="0" name="AutomationAddressMatchDate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="CustomerReferenceID" type="mailxml_base:s40"/>
      <xs:element minOccurs="0" name="UserPostageStatementID" type="mailxml_base:s10"/>
      <xs:element minOccurs="0" name="CarrierRouteAddressMatchDate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="CarrierRouteSequencingDate" type="xs:dateTime"/>
      <xs:element name="CertificationData" type="mailxml:certificationDataType"/>
      <xs:element name="ContainerCount" type="mailxml:containerCountType"/>
      <xs:element minOccurs="0" name="EnclosedBy" type="mailxml_base:enclosedByType"/>
      <xs:element minOccurs="0" name="DalPieces" type="xs:nonNegativeInteger"/>
      <xs:element name="ExtendedForm" type="xs:boolean"/>
      <xs:element name="FormType" type="mailxml_base:formType"/>
      <xs:element minOccurs="0" name="FobID" type="mailxml_base:s08"/>
      <xs:element ref="mailxml:LineItemSummaryData"/>
      <xs:element maxOccurs="unbounded" ref="mailxml:PostageStatementLineItemData"/>
      <xs:element name="MailingDate" type="xs:dateTime"/>
      <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" name="PackagingMethod" type="mailxml_base:packagingMethodType"/>
      <xs:element minOccurs="0" name="PostOfficeOfMailingZip" type="mailxml_base:es5"/>
      <xs:element name="PostageAffixedAmount" type="xs:double"/>
      <xs:element name="PostagePaymentMethod" type="mailxml_base:postagePaymentMethodType"/>
      <xs:element minOccurs="0" name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
      <xs:element minOccurs="0" name="RateType" type="mailxml_base:rateType"/>
      <xs:element name="RegisterOfMailing" type="xs:boolean"/>
      <xs:element minOccurs="0" name="SackingBasis" type="mailxml_base:sackingBasisType"/>
      <xs:element name="SinglePieceWeight" type="xs:double"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:ExtraServiceData"/>
      <xs:element minOccurs="0" ref="mailxml:ExtraServiceSummaryData"/>
      <xs:element minOccurs="0" name="StatementSequenceNumber" type="mailxml_base:s20"/>
      <xs:element name="RepositionableNotesIndicator" type="xs:boolean"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:DocumentVersionData"/>
      <xs:element minOccurs="0" name="MeteredAffixedMethod" type="mailxml_base:meteredAffixedMethodType"/>
      <xs:element minOccurs="0" name="CombinedMailingID" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" name="SinglePieceDimensionalWeight" type="xs:double"/>
      <xs:element minOccurs="0" name="EnclosingVolumeNo" type="mailxml_base:s05"/>
      <xs:element minOccurs="0" name="EnclosingIssueNo" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="EnclosingIssueDate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="PriceType" type="mailxml_base:priceType"/>
      <xs:element minOccurs="0" name="MoveUpdate" type="mailxml_base:moveUpdateType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Appt Block Request Type ===  CR 78 v2.1 dk-->
  <xs:complexType name="apptBlockRequestType">
    <xs:sequence>
      <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element name="PreferredAppt" type="xs:dateTime"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OptionalAppt" type="mailxml:optionalApptType"/>
      <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Appt Block Update Type === CR 78 v2.1 dk-->
  <xs:complexType name="apptBlockUpdateType">
    <xs:sequence>
      <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element name="PreferredAppt" type="xs:dateTime"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OptionalAppt" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="ETA" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Appt Block Goods Type === -->
  <!--=== Added MailClass in V2.0 ===-->
  <!--=== Added USPSMailerRating in V2.1 per CR 78 dk ===-->
  <!--=== CR 94 v3.0 dk ValidationLocation and transportationMethod ===-->
  <!--=== CR 85 v3.0 dk evsSamplingTime added ===-->
  <!--=== CR 77 v3.0 dk Irregularities, Actual Total Pallot Count,
         actual bedload percent, exemption code added             ===-->
  <!--=== CR 161 v5.0 dk choice for EvS/EFile ===-->
  <!--=== CR 159 Actual Bedload and Actual PalletCount ===-->
  <!--=== v5.0 dk removed ratingNumber during comment period as per FAST ===-->
  <xs:complexType name="apptBlockGoodsType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element name="ScheduledConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element minOccurs="0" ref="mailxml:ActualConsigneeFacility"/>
      <xs:element ref="mailxml:ScheduledAppt"/>
      <xs:element minOccurs="0" ref="mailxml:ActualTruckArrival"/>
      <xs:element minOccurs="0" ref="mailxml:ActualStartUnload"/>
      <xs:element minOccurs="0" ref="mailxml:ActualEndUnload"/>
      <xs:element ref="mailxml:ApptStatus"/>
      <xs:element name="ApptMethod" type="mailxml_base:apptMethodType"/>
      <xs:element minOccurs="0" name="USPSDetail" type="mailxml:uspsDetailType"/>
      <xs:element minOccurs="0" name="VerificationLocation" type="mailxml_base:verificationLocationType"/>
      <xs:element minOccurs="0" name="TransportationMethod" type="mailxml_base:transportationMethodType"/>
      <xs:element minOccurs="0" name="ActualTotalPalletCount" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ActualPalletCount" type="mailxml:actualPalletType"/>
      <xs:choice>
        <xs:element minOccurs="0" name="EvsSamplingTime" type="xs:dateTime"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="EFileSamplingTime" type="mailxml:eFileSamplingTimeType"/>
      </xs:choice>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Irregularities" type="mailxml_base:closeoutIrregularitiesType"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ActualBedload" type="mailxml:actualBedloadType"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ExemptionCode" type="mailxml_base:exemptionCodeType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="addressCorrectionAddressType">
    <xs:sequence>
      <xs:element name="AddressType" type="mailxml_base:addressType"/>
      <xs:element name="UrbanizationName" type="xs:string"/>
      <xs:element name="PrimaryNumber" type="mailxml_base:s10"/>
      <xs:element name="PreDirectional" type="mailxml_base:s02"/>
      <xs:element name="StreetName" type="mailxml_base:s28"/>
      <xs:element name="StreetSuffix" type="mailxml_base:s04"/>
      <xs:element name="PostDirectional" type="mailxml_base:s02"/>
      <xs:element name="UnitDesignator" type="mailxml_base:s04"/>
      <xs:element name="SecondaryNumber" type="mailxml_base:s10"/>
      <xs:element name="City" type="mailxml_base:s28"/>
      <xs:element name="State" type="mailxml_base:s02"/>
      <xs:element name="ZipCode" type="mailxml_base:ns05"/>
      <xs:element minOccurs="0" name="ZipCodePlus4" type="mailxml_base:ns04"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Appt Block Unscheduled Goods Type === -->
  <!--=== Added MailClass in V2.0 ===-->
  <!--=== v5.0 dk CR 164 / 159 ===-->
  <xs:complexType name="apptBlockUnscheduledGoodsType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element ref="mailxml:ActualConsigneeFacility"/>
      <xs:element minOccurs="0" ref="mailxml:ActualTruckArrival"/>
      <xs:element minOccurs="0" ref="mailxml:ActualStartUnload"/>
      <xs:element minOccurs="0" ref="mailxml:ActualEndUnload"/>
      <xs:element ref="mailxml:ApptStatus"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Irregularities" type="mailxml_base:closeoutIrregularitiesType"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ActualBedload" type="mailxml:actualBedloadType"/>
      <xs:element minOccurs="0" name="ActualTotalPalletCount" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ActualPalletCount" type="mailxml:actualPalletType"/>
    </xs:sequence>
  </xs:complexType>
  <!-- === Appt Closeout Type === -->
  <xs:complexType name="apptCloseoutDetailType">
    <xs:sequence>
      <xs:element name="UserID" type="mailxml_base:s12"/>
      <xs:element name="ApptCloseOut" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="ApptCloseoutEmployeeContactInfo" type="mailxml:commonContactType"/>
    </xs:sequence>
  </xs:complexType>
  <!-- === Appt Information Type === -->
  <xs:complexType name="apptInfoType">
    <xs:sequence>
      <xs:element name="ApptConsigneeID" type="mailxml_base:s12"/>
      <xs:element name="ApptState" type="mailxml_base:apptStateType"/>
      <xs:element ref="mailxml:ScheduledAppt"/>
      <xs:element ref="mailxml:ActualTruckArrival"/>
      <xs:element minOccurs="0" ref="mailxml:ActualStartUnload"/>
      <xs:element minOccurs="0" ref="mailxml:ActualEndUnload"/>
      <xs:element name="ApptCloseOutDetail" type="mailxml:apptCloseoutDetailType"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="InductionProblem" type="mailxml:inductionProblemType"/>
    </xs:sequence>
  </xs:complexType>
  <!-- === Appt Closeout Response Type === -->
  <xs:complexType name="apptCloseoutResponseType">
    <xs:sequence>
      <xs:element name="ApptInfo" type="mailxml:apptInfoType"/>
      <xs:element name="ContainerInductionInfo" type="mailxml:containerInductionInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:InductionCloseoutMsgHeaderInfo"/>
  </xs:complexType>
  <!-- === Appt Closeout Not Available Response Type === -->
  <xs:complexType name="apptCloseoutNotAvailableResponseType">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="ReturnCode" type="mailxml_base:ns04"/>
      <xs:element name="ReturnDescription" type="mailxml_base:s260"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:InductionCloseoutMsgHeaderInfo"/>
  </xs:complexType>
  <!-- === Available Appt Type === -->
  <!--=== Changed to start/end for CR 40 consistency in V20 ===-->
  <xs:complexType name="availableApptType">
    <xs:sequence>
      <xs:element name="Start" type="xs:dateTime"/>
      <xs:element name="End" type="xs:dateTime"/>
      <xs:element name="Units">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="UnitLoadType" type="mailxml_base:unitLoadType"/>
            <xs:element name="Quantity" type="mailxml_base:n06"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Available Slot Type ===-->
  <!--=== dk v5.0 CR 163 - Added Slot Availability. ===-->
  <xs:complexType name="availableSlotType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="Perishable" type="mailxml_base:yesNo"/>
      <xs:element maxOccurs="unbounded" name="AvailableHours" type="mailxml:availableHourType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Available Hour Type ===-->
  <!--=== dk v5.0 CR 163 - Added Slot Availability. ===-->
  <xs:complexType name="availableHourType">
    <xs:attribute name="PreferredAppt" type="xs:dateTime"/>
    <xs:attribute name="AvailableSlots" type="mailxml_base:s02"/>
  </xs:complexType>
  <!--===ComplexType B===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Basic Return Info Type ===-->
  <!--===  Added CR 88, v3.0 dk ===-->
  <xs:complexType name="basicReturnInfoType">
    <xs:sequence>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element minOccurs="0" name="ReturnCode" type="mailxml_base:ns04"/>
        <xs:element name="ReturnDescription" type="mailxml_base:s260"/>
      </xs:sequence>
    </xs:sequence>
  </xs:complexType>
  <!--=== Bedload Handling Unit Type ===-->
  <!--=== changed from handling unit type for CR 106 v3.0 dk ===-->
  <xs:complexType name="bedloadHandlingUnitType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PreSortLevel" type="mailxml:presortType"/>
    </xs:sequence>
    <xs:attribute name="Count" type="xs:nonNegativeInteger" use="required"/>
  </xs:complexType>
  <!--=== Bedload Unit Type ===-->
  <!--=== Added USPSContainerInfo in V2.0 ===-->
  <xs:complexType name="bedloadUnitType">
    <xs:sequence>
      <xs:element minOccurs="0" name="USPSContainerInfo" type="mailxml:uspsContainerInfoType"/>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="Sacks" type="mailxml:bedloadHandlingUnitType"/>
        <xs:element name="Trays" type="mailxml:trayHandlingUnitType"/>
        <xs:element name="Parcels" type="mailxml:bedloadHandlingUnitType"/>
        <xs:element name="Bundles" type="mailxml:bedloadHandlingUnitType"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <!--=== Bundle Record Type ===-->
  <!--=== V5.0 DK ===-->
  <xs:complexType name="bundleRecordType">
    <xs:sequence>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
      <xs:element name="PublicationTitle" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="PostageStatementLineNumber" type="mailxml_base:postageStatementLineNumber3Type"/>
      <xs:element name="ChargeableContainerLevel" type="mailxml_base:chargeableContainerLevelType"/>
      <xs:element name="ChargeableBundleLevel" type="mailxml_base:chargeableBundleLevelType"/>
      <xs:element name="Bundles" type="xs:double"/>
      <xs:element name="IssueDate" type="xs:date"/>
      <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:s04"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Bundle Record Type ===-->
  <!--=== V5.0 DK ===-->
  <xs:complexType name="bundleMPURecordType">
    <xs:sequence>
      <xs:element name="MPUItem" type="mailxml:simpleMpuItemType"/>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
      <xs:element name="PublicationTitle" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="PostageStatementLineNumber" type="mailxml_base:postageStatementLineNumber3Type"/>
      <xs:element name="ChargeableContainerLevel" type="mailxml_base:chargeableContainerLevelType"/>
      <xs:element name="ChargeableBundleLevel" type="mailxml_base:chargeableBundleLevelType"/>
      <xs:element name="Bundles" type="xs:double"/>
      <xs:element name="IssueDate" type="xs:date"/>
      <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:s04"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Bundle Detail Type ===-->
  <!--=== v5.0 dk CR 130 ===-->
  <!--=== v6.0 dk Comment RSS5, RSS6, RSS7, RSS8 ===-->
  <xs:complexType name="bundleDetailType">
    <xs:sequence>
      <xs:choice>
        <xs:element name="ContainerID" type="mailxml_base:s25"/>
        <xs:element name="CustomerContainerID" type="mailxml_base:s06"/>
      </xs:choice>
      <xs:element minOccurs="0" name="CustomerBundleID" type="mailxml_base:s06"/>
      <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
      <xs:element name="TotalCopies" type="xs:nonNegativeInteger"/>
      <xs:element name="BundleZip" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="BundleCarrierRoute" type="mailxml_base:s04"/>
      <xs:element minOccurs="0" name="DestinationEntry" type="mailxml_base:entryDiscountType"/>
      <xs:element minOccurs="0" name="Zone" type="mailxml_base:zoneType"/>
      <xs:element minOccurs="0" name="DestinationZip" type="mailxml_base:zipCodeThreeOrFiveDigit"/>
      <xs:element minOccurs="0" name="OutsideCountyBundleIndicator" type="mailxml_base:inCountyOutCountyIndicatorType"/>
      <xs:element minOccurs="0" name="SortationLevel" type="mailxml_base:sortationLevelType"/>
      <xs:element name="BundleLevel" type="mailxml_base:bundleDetailLevelType"/>
      <xs:element minOccurs="0" name="ParentBundleID" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="BundleBarcode" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" name="BundleStatus" type="mailxml_base:bundleStatusType"/>
      <xs:element minOccurs="0" name="BundleRecordStatus" type="mailxml_base:bundleRecordStatusType"/>
      <xs:element minOccurs="0" name="BundleVersion">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="VersionID" type="mailxml_base:s10"/>
            <xs:element name="VersionName" type="mailxml_base:s12"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--=== By for Conflict Type ===-->
  <!--=== v5.0 dk ===-->
  <!--=== v6.0 dk Comment DK01 ===-->
  <xs:complexType name="byForConflictType">
    <xs:sequence>
      <xs:choice maxOccurs="2">
        <xs:element name="MailOwnerConflict">
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element name="MailOwnerCRID" type="mailxml_base:CRIDType"/>
                <xs:element name="MailOwnerMailerID6" type="mailxml_base:mailerID6Type"/>
                <xs:element name="MailOwnerMailerID9" type="mailxml_base:mailerID9Type"/>
              </xs:choice>
              <xs:element name="ConflictReasonCode" type="mailxml_base:s02"/>
              <xs:element name="ConflictReasonDescription" type="mailxml_base:s50"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MailPreparerConflict">
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element name="MailPreparerCRID" type="mailxml_base:CRIDType"/>
                <xs:element name="MailPreparerMailerID6" type="mailxml_base:mailerID6Type"/>
                <xs:element name="MailPreparerMailerID9" type="mailxml_base:mailerID9Type"/>
              </xs:choice>
              <xs:element name="ConflictReasonCode" type="mailxml_base:s02"/>
              <xs:element name="ConflictReasonDescription" type="mailxml_base:s50"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType C===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Carrier Type ===-->
  <xs:complexType name="carrierType">
    <xs:sequence>
      <xs:element name="CarrierName" type="mailxml_base:s40"/>
      <xs:element minOccurs="0" name="CarrierAddress" type="mailxml:addressType"/>
      <xs:element minOccurs="0" name="URL" type="xs:anyURI"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CommonContact" type="mailxml:commonContactType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Cast of Characters Create Accept Type ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <xs:complexType name="CofCCreateAcceptType">
    <xs:sequence>
      <xs:choice>
        <xs:element maxOccurs="unbounded" name="MailPieceGroup">
          <xs:complexType>
            <xs:attributeGroup ref="mailxml:MailPieceGroupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
        <xs:element maxOccurs="unbounded" name="ContainerGroup">
          <xs:complexType>
            <xs:attributeGroup ref="mailxml:ContainerGroupResponseHeaderInfo"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Cast of Characters Create Reject Type ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <!--=== v5.0 CR 152 dk Added Container Group ===-->
  <xs:complexType name="CofCCreateRejectType">
    <xs:sequence>
      <xs:element minOccurs="0" name="OriginalInformation">
        <xs:complexType>
          <xs:choice>
            <xs:choice>
              <xs:sequence>
                <xs:element maxOccurs="unbounded" name="MailPieceGroup" type="mailxml:mailPieceGroupCreateType"/>
                <xs:sequence maxOccurs="unbounded">
                  <xs:element name="Particpant" type="mailxml:participantIDType"/>
                  <xs:element maxOccurs="unbounded" name="Role" type="mailxml_base:roleType"/>
                </xs:sequence>
                <xs:element name="EffectiveDate" type="xs:date"/>
                <xs:choice minOccurs="0">
                  <xs:element name="ExpirationDate" type="xs:date"/>
                  <xs:sequence>
                    <xs:element name="Duration" type="xs:nonNegativeInteger"/>
                    <xs:element name="DurationUnitofMeasure" type="mailxml_base:uOMType"/>
                  </xs:sequence>
                </xs:choice>
              </xs:sequence>
              <xs:element maxOccurs="unbounded" name="MailPieceGroupID"/>
            </xs:choice>
            <xs:choice>
              <xs:sequence>
                <xs:element maxOccurs="unbounded" name="ContainerGroup" type="mailxml:groupContainerIDType"/>
                <xs:sequence maxOccurs="unbounded">
                  <xs:element name="Particpant" type="mailxml:participantIDType"/>
                  <xs:element maxOccurs="unbounded" name="Role" type="mailxml_base:roleType"/>
                </xs:sequence>
                <xs:element name="EffectiveDate" type="xs:date"/>
                <xs:choice minOccurs="0">
                  <xs:element name="ExpirationDate" type="xs:date"/>
                  <xs:sequence>
                    <xs:element name="Duration" type="xs:nonNegativeInteger"/>
                    <xs:element name="DurationUnitofMeasure" type="mailxml_base:uOMType"/>
                  </xs:sequence>
                </xs:choice>
              </xs:sequence>
              <xs:element maxOccurs="unbounded" name="ContainerGroupID" type="mailxml_base:s12"/>
            </xs:choice>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Clock Started Type ===-->
  <!--=== v5.0 dk ===-->
  <!--=== V6.0 DK changed appointmentStatus to apptStatus comment 5114 ===-->
  <!--=== v6.0 dk Comment SM08 ===-->
  <!--=== v6.0A dk Errata sm_12 ===-->
  <xs:complexType name="clockStartedType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="StartTheClockBEMUBlock">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="StartTheClockBEMU">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
                  <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
                  <xs:element name="OriginFacilityName" type="mailxml_base:mailClassType"/>
                  <xs:element name="OriginFacilityLocaleKey" type="mailxml_base:localeKeyType"/>
                  <xs:element name="ArrivalDateTime" type="xs:dateTime"/>
                  <xs:element name="StartTheClockDate" type="xs:date"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="StartTheClockDropShipBlock">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="StartTheClockDropShip">
              <xs:complexType>
                <xs:sequence>
                  <xs:choice minOccurs="0">
                    <xs:element name="MailXMLApptID" type="mailxml_base:ns09"/>
                    <xs:element name="CSADispatchNumber" type="mailxml_base:ns10"/>
                  </xs:choice>
                  <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
                  <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
                  <xs:element name="UspsInductionFacilityName" type="mailxml_base:mailClassType"/>
                  <xs:element name="UspsInductionFacilityLocaleKey" type="mailxml_base:localeKeyType"/>
                  <xs:element name="ApptDateTime" type="xs:date"/>
                  <xs:element name="ArrivalDateTime" type="mailxml_base:localeKeyType"/>
                  <xs:element name="UnloadStartDateTime" type="xs:dateTime"/>
                  <xs:element name="UnloadEndDateTime" type="xs:dateTime"/>
                  <xs:element name="ApptStatus" type="mailxml_base:apptStatusType"/>
                  <xs:element name="StartTheClockDate" type="xs:date"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="StartTheClockPlantLoadBlock">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="StartTheClockPlantLoad">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
                  <xs:element name="CSADispatchNumber" type="mailxml_base:s10"/>
                  <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
                  <xs:element name="OriginFacilityName" type="mailxml_base:mailClassType"/>
                  <xs:element name="OriginFacilityLocaleKey" type="mailxml_base:localeKeyType"/>
                  <xs:element name="MailReleasedDateTime" type="xs:dateTime"/>
                  <xs:element name="StartTheClockDate" type="xs:date"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--=== Common Contact Type ===  DK V2.1 CR68-->
  <xs:complexType name="commonContactType">
    <xs:sequence>
      <xs:element name="ContactName" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="Telephone" type="mailxml_base:phoneNumberType"/>
      <xs:element minOccurs="0" name="MobilePhone" type="mailxml_base:phoneNumberType"/>
      <xs:element minOccurs="0" name="Email" type="mailxml_base:emailType"/>
      <xs:element minOccurs="0" name="Fax" type="mailxml_base:phoneNumberType"/>
      <xs:element minOccurs="0" name="GPSCoordinates" type="mailxml:gPSCoordinates"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ContactID" type="mailxml:contactIDType"/>
    </xs:sequence>
    <xs:attribute name="ContactType" type="mailxml_base:contactType" use="required"/>
  </xs:complexType>
  <!--=== Container Group Type ===-->
  <xs:complexType name="containerGroupType">
    <xs:attributeGroup ref="mailxml:ContainerGroupResponseHeaderInfo"/>
  </xs:complexType>
  <!--=== Contact ID Type ===  DK V2.1 CR68-->
  <xs:complexType name="contactIDType">
    <xs:sequence>
      <xs:element name="IDValue" type="mailxml_base:s30"/>
      <xs:element name="IDValueType" type="mailxml_base:IDType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Consignee Facility Type ===-->
  <xs:complexType name="consigneeFacilityType">
    <xs:sequence>
      <xs:element name="CompanyName" type="mailxml_base:s40"/>
      <xs:choice>
        <xs:sequence>
          <xs:element name="FacilityNumber" type="mailxml_base:s15"/>
          <xs:element minOccurs="0" name="FacilityAddress" type="mailxml:addressType"/>
        </xs:sequence>
        <xs:element name="FacilityAddress" type="mailxml:addressType"/>
      </xs:choice>
      <xs:element minOccurs="0" name="FacilityName" type="mailxml_base:s40"/>
      <xs:element minOccurs="0" name="FacilityType" type="mailxml_base:s15"/>
      <xs:element minOccurs="0" name="URL" type="xs:anyURI"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CommonContact" type="mailxml:commonContactType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Consolidated Mailing Group Type ===-->
  <!--=== v6.0 dk deleted per RSS19 ===-->
  <!-- Define a mailing group type that contains many mailings -->
  <!--=== Component Weight Item Type ===-->
  <xs:complexType name="componentWeightItemType">
    <xs:sequence>
      <xs:element name="ComponentID" type="mailxml_base:componentIDType"/>
      <xs:element minOccurs="0" name="ComponentDescription" type="xs:string"/>
      <xs:element name="ComponentVerifiedWeight" type="xs:string"/>
      <xs:element name="HostComponentIndicator" type="xs:boolean"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Certification Data Type ===-->
  <!--===  v5.0 dk            ===-->
  <!--=== v6.0 dk comment 5106 ===-->
  <xs:complexType name="certificationDataType">
    <xs:sequence>
      <xs:element name="ContactName" type="mailxml_base:s40"/>
      <xs:element name="PhoneAreaCode" type="mailxml_base:es3"/>
      <xs:element name="PhoneLast4" type="mailxml_base:es4"/>
      <xs:element name="PhonePrefix" type="mailxml_base:es3"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Create Postage Statement Type ===-->
  <!--=== V5.0 dk ===-->
  <xs:complexType name="createPostageStatementType">
    <xs:complexContent>
      <xs:extension base="mailxml:abstractPostageStatementDataType">
        <xs:sequence>
          <xs:element name="PermitHolderData" type="mailxml:mailerDataRequestType"/>
          <xs:element minOccurs="0" name="MailingOwnerData" type="mailxml:mailerDataRequestType"/>
          <xs:element minOccurs="0" name="MailingAgentData" type="mailxml:mailerDataRequestType"/>
          <xs:element minOccurs="0" name="PermitHolderForAPData" type="mailxml:mailerDataRequestType"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <!--=== Create Periodical Statement Data Type ===-->
  <!--=== V5.0 dk ===-->
  <!--=== V6.0 dk PubisherData optional ===-->
  <xs:complexType name="createPeriodicalStatementType">
    <xs:complexContent>
      <xs:extension base="mailxml:abstractPeriodicalStatementDataType">
        <xs:sequence>
          <xs:element minOccurs="0" name="MailingAgentData" type="mailxml:mailerDataRequestType"/>
          <xs:element name="PublisherData" type="mailxml:mailerDataRequestType"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <!-- Container Count Type -->
  <xs:complexType name="containerCountType">
    <xs:sequence>
      <xs:element name="OtherType" type="xs:nonNegativeInteger"/>
      <xs:element name="Pallets" type="xs:nonNegativeInteger"/>
      <xs:element name="Sacks" type="xs:nonNegativeInteger"/>
      <xs:element name="Trays1mm" type="xs:nonNegativeInteger"/>
      <xs:element name="Trays2emm" type="xs:nonNegativeInteger"/>
      <xs:element name="Trays2mm" type="xs:nonNegativeInteger"/>
      <xs:element name="TraysFlat" type="xs:nonNegativeInteger"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Container ID Type ===-->
  <!--=== V5.0 CR 124 dk ===-->
  <xs:complexType name="containerIDType">
    <xs:choice>
      <xs:element name="MailDatContainer" type="mailxml:mailDatContainerIDType"/>
      <xs:element name="MailXMLContainer" type="mailxml:MailXMLContainerIDType"/>
    </xs:choice>
  </xs:complexType>
  <!--=== Container Induction Type ===-->
  <xs:complexType name="containerInductionInfoType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="Container" type="mailxml_base:containerType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Content Detailed Info Type ===-->
  <!--=== Added for V2.0 to support DeliveryApptContentCreate ===-->
  <!--=== dk V4.0 added scheduled induction date per comment resolution ===-->
  <!--=== V4.0 comment 12, added Logistics ID's Optional ===-->
  <xs:complexType name="contentDetailInfoType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ShipperContainerGroupingID" type="mailxml_base:s16"/>
      <xs:element minOccurs="0" name="ConsigneeContainerGroupingID" type="mailxml_base:s16"/>
      <xs:element minOccurs="0" name="ShipperGroupingIDDescription" type="mailxml_base:s50"/>
      <xs:element minOccurs="0" name="ScheduledInductionDate" type="mailxml_base:scheduledInductionDateType"/>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="MailDatSummary" type="mailxml:mailDatSummaryType"/>
        <xs:element name="ContentUSPSSummary" type="mailxml:contentUspsSummaryType"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="LogisticsSchedulerID" type="mailxml_base:s12"/>
    <xs:attribute name="LogisticsCorpID" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--=== Content Detailed Info Update Type ===-->
  <!--=== Added for V2.0 to support DeliveryApptContentCreateRequest ===-->
  <!--=== dk V4.0 added scheduled induction date per comment resolution ===-->
  <!--=== V4.0 comment 12, added Logistics ID's Optional ===-->
  <!--=== v4.0errata Comment#2 -  ContentUSPSSummary changed to reference the contentUspsSummaryUpdateType ===-->
  <xs:complexType name="contentDetailInfoUpdateType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ShipperContainerGroupingID" type="mailxml_base:s16"/>
      <xs:element minOccurs="0" name="ConsigneeContainerGroupingID" type="mailxml_base:s16"/>
      <xs:element minOccurs="0" name="ShipperGroupingIDDescription" type="mailxml_base:s50"/>
      <xs:element minOccurs="0" name="ScheduledInductionDate" type="mailxml_base:scheduledInductionDateType"/>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="MailDatSummary" type="mailxml:mailDatSummaryType"/>
        <xs:element name="ContentUSPSSummary" type="mailxml:contentUspsSummaryUpdateType"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="LogisticsSchedulerID" type="mailxml_base:s12"/>
    <xs:attribute name="LogisticsCorpID" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--=== Content ID Type ===-->
  <!--=== v4.0errata dk Comment #5 to support multiple content cancel ===-->
  <xs:complexType name="contentIDType">
    <xs:sequence/>
    <xs:attribute name="ConsigneeContentID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--=== Content USPS Summary Type ===-->
  <!--=== Added in V2.0 to support DeliveryApptContentCreateRequest===-->
  <!--=== Added EvsIndicator and EFileNumber re CR 86 v3.0 dk ===-->
  <!--=== Added ConsigneeContentID V4.0 CR 148 dk to combine with Standalone Content msgs ===-->
  <!--=== V4.0 comment 12, added Logistics ID's Optional ===-->
  <!--=== V4.0 comment 21, made the EVS and Efile atts optional ===-->
  <!--=== v4.0errata dk Comment#3  - ConsigneeContentID not required for creating
                         - Removed LogisticSchedulerID and LogisticsCorpID ===-->
  <!--=== V5.0 dk CR 160 ===-->
  <xs:complexType name="contentUspsSummaryType">
    <xs:sequence>
      <xs:element name="DestinationDiscountIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="ZoneSkippingIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Pallets" type="mailxml:palletUnitType"/>
      <xs:element minOccurs="0" name="Bedload" type="mailxml:bedloadUnitType"/>
      <xs:element name="Perishable" type="mailxml_base:yesNo"/>
      <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="RateType" type="mailxml_base:rateTypeType"/>
      <xs:element minOccurs="0" name="InHomeStart" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="InHomeEnd" type="xs:dateTime"/>
      <xs:element name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
      <xs:element default="No" name="PriorityMailIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="VerificationLocation" type="mailxml_base:verificationLocationType"/>
      <xs:element name="NewsIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" name="EvsIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" name="MailContentName" type="mailxml_base:s30"/>
      <xs:element minOccurs="0" name="MailPreparerID" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AdvanceMailingID" type="mailxml_base:s09"/>
      <xs:element minOccurs="0" name="EFileNumber" type="mailxml_base:s22"/>
      <xs:element minOccurs="0" name="ContainsAutoMail" type="mailxml_base:yesNo"/>
    </xs:sequence>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeContentID" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--=== Content USPS Summary Update Type ===-->
  <!--=== Added EvsIndicator and EFileNumber per CR 86 v3.0 dk     ===-->
  <!--=== V4.0 comment 12, added Logistics ID's Optional ===-->
  <!--=== V4.0 comment 21, made the EVS and Efile atts optional ===-->
  <!--=== v4.0errata dk Comment #2  - Removed LogisticSchedulerID and LogisticsCorpID ===-->
  <!--=== v5.0 dk CR 160 ===-->
  <xs:complexType name="contentUspsSummaryUpdateType">
    <xs:sequence>
      <xs:element name="DestinationDiscountIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="ZoneSkippingIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Pallets" type="mailxml:palletUnitType"/>
      <xs:element minOccurs="0" name="Bedload" type="mailxml:bedloadUnitType"/>
      <xs:element name="Perishable" type="mailxml_base:yesNo"/>
      <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="RateType" type="mailxml_base:rateTypeType"/>
      <xs:element minOccurs="0" name="InHomeStart" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="InHomeEnd" type="xs:dateTime"/>
      <xs:element name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
      <xs:element default="No" name="PriorityMailIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="VerificationLocation" type="mailxml_base:verificationLocationType"/>
      <xs:element name="NewsIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" name="EvsIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" name="MailContentName" type="mailxml_base:s30"/>
      <xs:element minOccurs="0" name="MailPreparerID" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AdvanceMailingID" type="mailxml_base:s09"/>
      <xs:element minOccurs="0" name="EFileNumber" type="mailxml_base:s22"/>
      <xs:element minOccurs="0" name="ContainsAutoMail" type="mailxml_base:yesNo"/>
    </xs:sequence>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeContentID" type="mailxml_base:s12" use="required"/>
  </xs:complexType>
  <!--=== Create Consolidated Periodical Statement Type ===-->
  <!--=== v6.0 dk Comment RSS12                  ===-->
  <xs:complexType name="createConsolidatedPeriodicalStatementDataType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="PeriodicalStatement" type="mailxml:createPeriodicalStatementType"/>
      <xs:element name="FirstStatementSequenceNumber" type="mailxml_base:s30"/>
      <xs:element name="LastStatementSequenceNumber" type="mailxml_base:s30"/>
      <xs:element name="LimitedCirculationDiscountClaimed" type="mailxml_base:yesNo"/>
      <xs:element name="PublisherData" type="mailxml:mailerDataRequestType"/>
      <xs:element minOccurs="0" name="MailingAgentData" type="mailxml:mailerDataType"/>
      <xs:element name="ContainerCount" type="mailxml:containerCountType"/>
      <xs:element maxOccurs="unbounded" ref="mailxml:PeriodicalLineItemData"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Content Cancel  Type ===-->
  <!--=== v5.0 CR 155 multiple content cancel ===-->
  <xs:complexType name="contentCancelType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:optReturnInfoType"/>
    </xs:sequence>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeContentID" type="mailxml_base:s12" use="required"/>
    <xs:attribute name="ConsigneeApptID" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--===  CRIDs Requested Type        ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:complexType name="cRIDsRequestedType">
    <xs:sequence>
      <xs:element name="CRIDRequestID" type="mailxml_base:s12"/>
      <xs:choice>
        <xs:sequence>
          <xs:element name="CompanyName" type="mailxml_base:s40"/>
          <xs:element name="Address" type="mailxml:addressType"/>
        </xs:sequence>
        <xs:element name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <!--===  CRIDs Entry Type        ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:complexType name="CRIDEntryType">
    <xs:sequence>
      <xs:element name="CompanyName" type="mailxml_base:s40"/>
      <xs:element name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
      <xs:element name="CompanyHQIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="Address" type="mailxml:addressType"/>
      <xs:element default="Yes" name="AddressMatch" type="mailxml_base:yesNo"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== v5.0 CR 169 /198 CSA dk ===-->
  <!--=== v6.0 dk Comment DK01 ===-->
  <xs:complexType name="csaInfoType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="CSADispatch" type="mailxml:csaDispatchType"/>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
    </xs:sequence>
    <xs:attribute name="CSAEffectiveDate" type="xs:date"/>
    <xs:attribute name="CSAStatus" type="mailxml_base:csaStatusType"/>
  </xs:complexType>
  <!--=== v5.0 CR 169 /198 CSA dk ===-->
  <xs:complexType name="csaDispatchType">
    <xs:sequence>
      <xs:element minOccurs="0" name="DispatchTime" type="xs:time"/>
      <xs:element minOccurs="0" name="ArrivalTime" type="mailxml_base:s05"/>
      <xs:element minOccurs="0" name="DaysOfWeek" type="mailxml_base:daysOfWeekType"/>
      <xs:element minOccurs="0" name="TripNumber" type="mailxml_base:n05"/>
      <xs:element minOccurs="0" name="RecurringApptSeqID" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="USPSPublicationID" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" name="TripVolume" type="mailxml_base:n03"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ContainerDestinationZipCode" type="mailxml_base:s11"/>
      <xs:element name="FacilityLocaleKey" type="mailxml_base:s06"/>
      <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
      <xs:element minOccurs="0" name="ProcessingCode" type="mailxml_base:processingCodeType"/>
      <xs:element minOccurs="0" name="ProcessingCodeLabel" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" name="MinimumLoadForContainer" type="mailxml_base:n02"/>
      <xs:element minOccurs="0" name="ContainerReadyTime" type="xs:time"/>
      <xs:element minOccurs="0" name="SeparationNumber" type="mailxml_base:n03"/>
      <xs:element minOccurs="0" name="LabelTo" type="mailxml_base:s25"/>
      <xs:element minOccurs="0" name="LabelToZip" type="mailxml_base:s05"/>
      <xs:element minOccurs="0" name="CriticalAcceptanceTime" type="mailxml_base:s05"/>
    </xs:sequence>
    <xs:attribute name="CSATemplate" type="mailxml_base:csaTemplateType"/>
  </xs:complexType>
  <!--=== Customer Identification Type ===-->
  <!--=== CR 84 v3.0 dk ===-->
  <xs:complexType name="customerIdentityType">
    <xs:annotation>
      <xs:documentation>Structure describibg the customer information</xs:documentation>
    </xs:annotation>
    <xs:attribute name="Owner" type="mailxml_base:s12"/>
    <xs:attribute name="Preparer" type="mailxml_base:s12"/>
    <xs:attribute name="Scheduler" type="mailxml_base:s12"/>
    <xs:attribute name="Consolidator" type="mailxml_base:s12"/>
    <xs:attribute name="Logistics" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--===complexType D===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Delivery Appt Content Remove Accept Type ===-->
  <!--=== V5.0 dk CR 125 ===-->
  <xs:complexType name="deliveryApptContentRemoveAcceptType">
    <xs:sequence minOccurs="1" maxOccurs="unbounded">
      <xs:element name="ContentID" type="mailxml:contentIDType"/>
      <xs:element name="RemoveConfirmID" type="mailxml_base:s12"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== ++++++++ Delivery Appt Content Remove Reject Type ===-->
  <!--=== V5.0 dk CR 125 ===-->
  <xs:complexType name="deliveryApptContentRemoveRejectType">
    <xs:sequence minOccurs="1" maxOccurs="unbounded">
      <xs:element name="ContentID" type="mailxml:contentIDType"/>
      <xs:element name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Delivery Appt Acceptance ===-->
  <!--=== V5.0 dk per comment review FAST ===-->
  <xs:complexType name="deliveryApptAcceptType">
    <xs:sequence>
      <xs:choice>
        <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
        <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
      </xs:choice>
      <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
      <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
      <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Appt Rejection ===-->
  <xs:complexType name="deliveryApptRejectType">
    <xs:sequence>
      <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Appt Rejection ===-->
  <xs:complexType name="deliveryApptShellRejectType">
    <xs:sequence>
      <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Content Cancel Request Type dk v2.1 CR 65===-->
  <!--=== Updated to combine with Standalone Content Msgs V4.0 CR 148 dk ===-->
  <!--=== v4.0errata dk Comment #5 fix for multiple content ===-->
  <!--=== v5.0 CR 155 multiple content cancel ===-->
  <xs:complexType name="deliveryContentCancelRequestType">
    <xs:sequence>
      <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
      <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      <xs:element minOccurs="1" maxOccurs="unbounded" name="ContentCancel" type="mailxml:contentCancelType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:DeliveryContentHeaderInfoCancel"/>
  </xs:complexType>
  <!--=== Delivery Content Acceptance ===-->
  <!--=== Updated to combine with Standalone Content Msgs V4.0 CR 148 dk ===-->
  <xs:complexType name="deliveryContentAcceptType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element maxOccurs="unbounded" name="ContentDetailInfo" type="mailxml:contentDetailInfoType"/>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:DeliveryContentHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Content UPDATE Acceptance ===-->
  <!--=== Updated to combine with Standalone Content Msgs V4.0 CR 148 dk ===-->
  <!--=== V4.0 dk Comment 18, changed ContentDetailInfo to ContentDetailInfoUpdateType ===-->
  <!--=== v4.0errata dk Comment #2 - changed the header to the DeliveryContentUpdateHeaderInfo ===-->
  <xs:complexType name="deliveryContentUpdateAcceptType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element maxOccurs="unbounded" name="ContentDetailInfoUpdate" type="mailxml:contentDetailInfoUpdateType"/>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:DeliveryContentUpdateHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Content UPDATE Rejection ===-->
  <!--=== v4.0errata dk Comment#4 - Created a new type to facilitate the Content Update header ===-->
  <xs:complexType name="deliveryContentUpdateRejectType">
    <xs:sequence>
      <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:DeliveryContentUpdateHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Content Rejection ===-->
  <!--=== Updated to combine with Standalone Content Msgs V4.0 CR 148 dk ===-->
  <xs:complexType name="deliveryContentRejectType">
    <xs:sequence>
      <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:DeliveryContentHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Content Cancel Response Type DK v2.1 CR 65===-->
  <!--=== updated v3.0 to create better model that ties CancelConfirmID to Content ===-->
  <!--=== Updated to combine with Standalone Content Msgs V4.0 CR 148 dk ===-->
  <!--=== dk v4.0 make uniform with other response msgs accept/reject form ===-->
  <!--=== v4.0errata dk Comment #5 fix for multiple content ===-->
  <!--=== v5.0 CR 155 dk ===-->
  <xs:complexType name="deliveryContentCancelResponseType">
    <xs:choice>
      <xs:element name="DeliveryContentCancelAccept">
        <xs:complexType>
          <xs:sequence maxOccurs="unbounded">
            <xs:element name="ContentCancel" type="mailxml:contentCancelType"/>
            <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
          </xs:sequence>
          <xs:attributeGroup ref="mailxml:DeliveryContentHeaderInfoCancel"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="DeliveryContentCancelReject">
        <xs:complexType>
          <xs:sequence maxOccurs="unbounded">
            <xs:element name="ContentCancel" type="mailxml:contentCancelType"/>
            <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
          </xs:sequence>
          <xs:attributeGroup ref="mailxml:DeliveryContentHeaderInfoCancel"/>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <!--=== Delivery Appt Shell Cancel Request === dk v2.1 69-->
  <xs:complexType name="deliveryApptShellCancelRequestType">
    <xs:sequence>
      <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
      <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      <xs:element name="ReturnInfo" type="mailxml:optReturnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Appt Shell Cancel Response Type === dk v2.1 69-->
  <!--=== v4.0 dk per comment `10 accept/reject style ===-->
  <xs:complexType name="deliveryApptShellCancelResponseType">
    <xs:choice>
      <xs:element name="DeliveryApptCancelAccept">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CancelConfirmID" type="mailxml_base:s12"/>
          </xs:sequence>
          <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="DeliveryApptCancelReject">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
          </xs:sequence>
          <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <!--=== Delivery Appt Transportation Update Request dk V21. CR68===-->
  <xs:complexType name="deliveryApptTransportationUpdateRequestType">
    <xs:sequence>
      <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
      <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      <xs:element name="TrailerInfo" type="mailxml:trailerInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:DeliveryApptTransportUpdateHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Appt Transportation Update Response Type dk V21. CR68===-->
  <xs:complexType name="deliveryApptTransportationUpdateResponseType">
    <xs:choice>
      <xs:element name="DeliveryApptTransportationAccept" type="mailxml:trailerInfoType"/>
      <xs:element name="DeliveryApptTransportationReject" type="mailxml:returnInfoType"/>
    </xs:choice>
  </xs:complexType>
  <!--=== Delivery Appt Update Acceptance ===-->
  <!--=== V5.0 dk per comment resolution ===-->
  <xs:complexType name="deliveryApptUpdateAcceptType">
    <xs:sequence>
      <xs:choice>
        <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
        <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
      </xs:choice>
      <xs:element maxOccurs="unbounded" name="DetailInfo" type="mailxml:detailInfoType"/>
      <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
      <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:ResponseMsgHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Appt Update Rejection===-->
  <xs:complexType name="deliveryApptUpdateRejectType">
    <xs:sequence>
      <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
  </xs:complexType>
  <!--=== Delivery Appt Shell Accept === DK V1.2 CR 73-->
  <!-- PST 12-jan modified -->
  <xs:complexType name="deliveryApptShellAcceptType">
    <xs:sequence>
      <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:choice>
        <xs:element name="RecurringAppt" type="mailxml:recurringApptType"/>
        <xs:element name="OneTimeAppt" type="mailxml:oneTimeApptType"/>
      </xs:choice>
      <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
      <xs:element maxOccurs="unbounded" name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:RequestMsgHeaderInfo"/>
  </xs:complexType>
  <!--=== Detailed Info Type ===-->
  <xs:complexType name="detailInfoType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ShipperContainerGroupingID" type="mailxml_base:s16"/>
      <xs:element minOccurs="0" name="ConsigneeContainerGroupingID" type="mailxml_base:s16"/>
      <xs:element minOccurs="0" name="ShipperGroupingIDDescription" type="mailxml_base:s50"/>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="MailDatSummary" type="mailxml:mailDatSummaryType"/>
        <xs:element name="USPSSummary" type="mailxml:uspsSummaryType"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType E===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== EFileSamplingTimeType ===-->
  <!-- added v5.0 dk CR 161 ===-->
  <xs:complexType name="eFileSamplingTimeType">
    <xs:sequence>
      <xs:element name="EFileNumber" type="mailxml_base:s22"/>
      <xs:element name="EFileSamplingTime" type="xs:dateTime"/>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType F===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType G===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== GPS Coordinates ===-->
  <xs:complexType name="gPSCoordinates">
    <xs:sequence>
      <xs:element name="Latitude" type="mailxml_base:dec18-8"/>
      <xs:element name="Longitude" type="mailxml_base:dec18-8"/>
      <xs:element minOccurs="0" name="Height" type="mailxml:measurementType"/>
    </xs:sequence>
    <xs:attribute default="MSL" name="GPSSystem" type="mailxml_base:gPSSystemType"/>
  </xs:complexType>
  <!--===complexType H===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType I===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Induction Problem Type ===-->
  <xs:complexType name="inductionProblemType">
    <xs:sequence>
      <xs:element name="ProblemID" type="xs:unsignedByte"/>
      <xs:element name="ProblemDescription" type="xs:string"/>
      <xs:element minOccurs="0" name="ProblemType" type="xs:string"/>
      <xs:element minOccurs="0" name="ProblemCategory" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Intelligent Barcode Type ===-->
  <!--=== Added for CR 83 v3.0 dk, sync with PDRXml ===-->
  <!--=== v6.0 dk standardized on &quot;iMB&quot; comment 5112    ===-->
  <!--=== v6.0 dk standardized on &quot;iMB&quot; comment 5112    ===-->
  <xs:complexType name="intelligentMailBarcodeIdentifierType">
    <xs:sequence>
      <xs:element minOccurs="0" name="BarcodeID" type="mailxml_base:iMBarcodeIDType"/>
      <xs:element minOccurs="0" name="ServiceTypeCode" type="mailxml_base:ServiceTypeCodeType"/>
      <xs:choice>
        <xs:sequence>
          <xs:element name="MailerID6" type="mailxml_base:mailerID6Type"/>
          <xs:element name="SerialNumber9" type="mailxml_base:iMBSerialNumber9Type"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="MailerID9" type="mailxml_base:mailerID9Type"/>
          <xs:element name="SerialNumber6" type="mailxml_base:iMBSerialNumber6Type"/>
        </xs:sequence>
      </xs:choice>
      <xs:element minOccurs="0" name="DeliveryPointZIP" type="mailxml_base:RoutingZipCodeType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Intellilgent Mail Barcode Type ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <!--=== v6.0 dk standardized on &quot;iMB&quot; comment 5112    ===-->
  <xs:complexType name="intelligentMailBarcodeType">
    <xs:sequence>
      <xs:element minOccurs="0" name="BarcodeID" type="mailxml_base:iMBarcodeIDType"/>
      <xs:element minOccurs="0" name="ServiceTypeCode" type="mailxml_base:ServiceTypeCodeType"/>
      <xs:choice>
        <xs:sequence>
          <xs:element name="MailerID6" type="mailxml_base:mailerID6Type"/>
          <xs:element name="SerialNumber9" type="mailxml_base:iMBSerialNumber9Type"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="MailerID9" type="mailxml_base:mailerID9Type"/>
          <xs:element name="SerialNumber6" type="mailxml_base:iMBSerialNumber6Type"/>
        </xs:sequence>
      </xs:choice>
      <xs:element minOccurs="0" name="DeliveryPointZIP" type="mailxml_base:RoutingZipCodeType"/>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType J===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType K===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType L===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Linking Container ID Type ===-->
  <!--== v5.0 CR 152 Added Container Bar Code ===-->
  <xs:complexType name="linkingContainerIDType">
    <xs:choice>
      <xs:element name="MailDatContainer" type="mailxml:mailDatContainerIDType"/>
      <xs:element name="MailXMLContainer" type="mailxml:MailXMLContainerIDType"/>
      <xs:element name="ContainerBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
    </xs:choice>
  </xs:complexType>
  <!--=== Group Container ID Type ===-->
  <!--== v5.0 CR 152 Added Container Bar Code ===-->
  <xs:complexType name="groupContainerIDType">
    <xs:choice>
      <xs:element name="MailDatContainer" type="mailxml:mailDatContainerIDType"/>
      <xs:element name="MailXMLContainer" type="mailxml:MailXMLContainerIDType"/>
      <xs:element name="ContainerBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
    </xs:choice>
    <xs:attributeGroup ref="mailxml:ContainerGroupRequestHeaderInfo"/>
  </xs:complexType>
  <!--===complexType M===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Mail Piece Group Type ===-->
  <xs:complexType name="mailPieceGroupType">
    <xs:attributeGroup ref="mailxml:MailPieceGroupResponseHeaderInfo"/>
  </xs:complexType>
  <!--=== Mail Piece Group Create Type ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <xs:complexType name="mailPieceGroupCreateType">
    <xs:choice maxOccurs="unbounded">
      <xs:element name="MailPieceID" type="mailxml:mailPieceIDType"/>
      <xs:sequence>
        <xs:element name="LowestMailPieceID" type="mailxml:mailPieceIDType"/>
        <xs:element name="HighestMailPieceID" type="mailxml:mailPieceIDType"/>
      </xs:sequence>
    </xs:choice>
    <xs:attributeGroup ref="mailxml:MailPieceGroupRequestHeaderInfo"/>
  </xs:complexType>
  <!--=== Mail Piece Group Create Response Type ===-->
  <!--=== CR 83 v3.0 dk ===-->
  <xs:complexType name="mailPieceGroupResponseType">
    <xs:choice maxOccurs="unbounded">
      <xs:element name="MailPieceID" type="mailxml:mailPieceIDType"/>
      <xs:sequence>
        <xs:element name="LowestMailPieceID" type="mailxml:mailPieceIDType"/>
        <xs:element name="HighestMailPieceID" type="mailxml:mailPieceIDType"/>
      </xs:sequence>
    </xs:choice>
    <xs:attributeGroup ref="mailxml:MailPieceGroupResponseHeaderInfo"/>
  </xs:complexType>
  <!--=== MailDat Summary Type===-->
  <!--=== Added SchedulerContentID attribute in V2.0 ===-->
  <xs:complexType name="mailDatSummaryType">
    <xs:sequence>
      <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
      <xs:element name="MailDatJobID" type="mailxml_base:jobIDType"/>
      <xs:element name="DatabaseContainerID" type="mailxml_base:databaseContainerIDType"/>
      <xs:element minOccurs="0" name="UniqueContainerBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
      <xs:element minOccurs="0" name="VerificationZip4" type="mailxml_base:ns09"/>
    </xs:sequence>
    <xs:attribute default="No" name="IncludedInSummarizationBlock" type="mailxml_base:yesNo"/>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--=== MailXML Container Type ===-->
  <!--=== v6.0 dk Comment 5109 ===-->
  <xs:complexType name="MailXMLContainerIDType">
    <xs:sequence>
      <xs:choice>
        <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
        <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
      </xs:choice>
      <xs:choice minOccurs="1" maxOccurs="2">
        <xs:element name="CustomerContainerID" type="mailxml_base:s50"/>
        <xs:element name="ContainerID" type="mailxml_base:s50"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <!--=== Measurement Type ===-->
  <xs:complexType name="measurementType">
    <xs:sequence>
      <xs:element name="Value">
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="mailxml_base:dec18-8">
              <xs:attribute name="UOM" type="mailxml_base:uOMType" use="required"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="RangeMin">
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="mailxml_base:dec18-8">
              <xs:attribute name="UOM" type="mailxml_base:uOMType" use="required"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="RangeMax">
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="mailxml_base:dec18-8">
              <xs:attribute name="UOM" type="mailxml_base:uOMType" use="required"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--=== maildat Container ID Type  ===-->
  <!--=== CR 116 v3.0 dk             ===-->
  <xs:complexType name="mailDatContainerIDType">
    <xs:sequence/>
    <xs:attributeGroup ref="mailxml:SiblingIdentifierHeaderInfo"/>
  </xs:complexType>
  <!--=== Mailing Item Type ===-->
  <!--=== v5.0 dk ===-->
  <!-- Defines the data elements that makeup a Mailing Item complex type -->
  <!--=== v6.0 dk removed per RSS19 ===-->
  <!--=== Mailer Data Type ===-->
  <!--=== v5.0 DK CR 134 Add MailerID ===-->
  <!--=== v5.0 DK CR 150 Add MID CRID ===-->
  <xs:complexType name="mailerDataType">
    <xs:sequence>
      <xs:element name="Address1" type="mailxml_base:s64"/>
      <xs:element minOccurs="0" name="Address2" type="mailxml_base:s64"/>
      <xs:element minOccurs="0" name="City" type="mailxml_base:s45"/>
      <xs:element minOccurs="0" name="Country" type="mailxml_base:s45"/>
      <xs:element minOccurs="0" name="DunsNumber" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" name="Email" type="mailxml_base:emailType"/>
      <xs:element minOccurs="0" name="MID" type="mailxml:MIDType"/>
      <xs:element minOccurs="0" name="CRID" type="mailxml_base:CRIDType"/>
      <xs:element name="ContactName" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
      <xs:element name="PhoneAreaCode" type="mailxml_base:es3"/>
      <xs:element minOccurs="0" name="PhoneExtension" type="mailxml_base:s05"/>
      <xs:element name="PhoneLast4" type="mailxml_base:es4"/>
      <xs:element name="PhonePrefix" type="mailxml_base:es3"/>
      <xs:element minOccurs="0" name="State" type="mailxml_base:stateCode"/>
      <xs:element name="ZipCode" type="mailxml:zipCode"/>
      <xs:element minOccurs="0" name="ZipCode4" type="mailxml_base:es4"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Mailer Data Request Type ===-->
  <!--=== V5.0 dk                  ===-->
  <xs:complexType name="mailerDataRequestType">
    <xs:sequence>
      <xs:element minOccurs="0" name="MID" type="mailxml:MIDType"/>
      <xs:element name="ContactName" type="mailxml_base:s60"/>
      <xs:element name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
    </xs:sequence>
  </xs:complexType>
  <!--====== Mail Grouping Data Type    =======-->
  <!--=== v5.0 DK CR 129 ===-->
  <!--=== v50. DK Cr 182 ===-->
  <!--=== v5.0 DK CR 178 ===-->
  <xs:complexType name="mailingGroupDataType">
    <xs:sequence>
      <xs:element minOccurs="0" name="CustomerDescription" type="mailxml_base:s50"/>
      <xs:element name="SubmitterCRID" type="mailxml_base:CRIDType"/>
      <xs:element name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
      <xs:element name="PostOfficeOfMailingZip" type="mailxml_base:es5"/>
      <xs:element minOccurs="0" name="MailingFacility" type="mailxml_base:s10"/>
      <xs:element name="MailXmlPresentationCategory" type="mailxml_base:mailXmlPresentationCategoryType"/>
      <xs:element minOccurs="0" name="MailerID" type="xs:string"/>
      <xs:element minOccurs="0" name="FullServiceParticipationIndicator" type="mailxml_base:fspiType"/>
      <xs:element minOccurs="0" name="MailAgreementType" type="mailxml_base:mailAgreementTypeType"/>
      <xs:element minOccurs="0" name="ContractNumber" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" name="MCLOCROnePassIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" name="LogicalPhysicalContainerIndicator" type="mailxml_base:logicalPhysicalContainerIndicatorType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Mail Owner Block Type ===-->
  <!--=== dk 5.0 for PDR Piece Mail BLK   ===-->
  <xs:complexType name="mailOwnerBlockType">
    <xs:sequence>
      <xs:choice>
        <xs:element name="MailerID6" type="mailxml_base:mailerID6Type"/>
        <xs:element name="MailerID9" type="mailxml_base:mailerID9Type"/>
      </xs:choice>
      <xs:element name="CRID" type="mailxml_base:CRIDType"/>
      <xs:element name="SchedulerID" type="mailxml_base:s12"/>
      <xs:element name="MaildatUserLicense" type="mailxml_base:userLicenseCodeType"/>
      <xs:element name="MailOwner" type="mailxml:permitPublicationDataType"/>
      <xs:choice>
        <xs:element name="MailOwnerMID6" type="mailxml_base:ns06"/>
        <xs:element name="MailOwnerMID9" type="mailxml_base:ns09"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <!--=== Mail Piece ID Type  ===-->
  <!--=== CR 83 v3.0 dk       ===-->
  <xs:complexType name="mailPieceIDType">
    <xs:choice minOccurs="0">
      <xs:element name="IMB" type="mailxml:intelligentMailBarcodeType"/>
      <xs:sequence>
        <xs:element minOccurs="0" name="PlanetCode" type="mailxml_base:planetCodeType"/>
        <xs:element name="DeliveryPointZIP" type="mailxml_base:RoutingZipCodeType"/>
      </xs:sequence>
      <xs:sequence>
        <xs:element name="DeliveryContainerID" type="mailxml_base:ns22"/>
        <xs:element name="DeliveryPointZIP" type="mailxml_base:RoutingZipCodeType"/>
      </xs:sequence>
    </xs:choice>
  </xs:complexType>
  <!--=== Mail Piece Request Type ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:complexType name="mailPieceRequestType">
    <xs:sequence>
      <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
      <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      <xs:choice>
        <xs:sequence>
          <xs:element name="UserLicenseCode" type="mailxml_base:userLicenseCodeType"/>
          <xs:element name="MaildatJobID" type="mailxml_base:jobIDType"/>
          <xs:element minOccurs="0" name="TransmittedCount" type="xs:nonNegativeInteger"/>
          <xs:choice>
            <xs:element maxOccurs="unbounded" name="PDRMailPieceBlock" type="mailxml:PDRMailPieceBlockType"/>
            <xs:element maxOccurs="unbounded" name="PDRRangePieceBlock">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="DatabaseContainerID" type="mailxml_base:databaseContainerIDType"/>
                  <xs:element maxOccurs="unbounded" name="PieceRangeBlock" type="mailxml:pieceRangeBlockType"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="CustomerGroupID" type="mailxml_base:s25"/>
          <xs:element name="MailingGroupID" type="xs:nonNegativeInteger"/>
          <xs:element minOccurs="0" name="TransmittedCount" type="xs:nonNegativeInteger"/>
          <xs:choice>
            <xs:element name="MailPieceBlock" type="mailxml:mailPieceBlockType"/>
            <xs:element name="MailXMLPieceRangeBlock">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ContainerID" type="mailxml_base:container24CharacterBarcodeType"/>
                  <xs:element name="RangePieceCount" type="xs:nonNegativeInteger"/>
                  <xs:element maxOccurs="unbounded" name="PieceRangeBlock" type="mailxml:pieceRangeBlockType"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <!--=== Mail Piece Block Type ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:complexType name="mailPieceBlockType">
    <xs:sequence>
      <xs:element name="ServiceLevelIndicator" type="mailxml_base:serviceLevelIndicatorType"/>
      <xs:choice minOccurs="0">
        <xs:sequence>
          <xs:element name="LOTSequenceDirectionCode" type="mailxml_base:s01"/>
          <xs:element name="LOTSequenceNumber" type="mailxml_base:ns04"/>
        </xs:sequence>
        <xs:element name="WalkSequenceNumber" type="mailxml_base:ns05"/>
      </xs:choice>
      <xs:choice minOccurs="0">
        <xs:element name="IMB" type="mailxml:intelligentMailBarcodeIdentifierType"/>
        <xs:sequence>
          <xs:element minOccurs="0" name="PlanetCode" type="mailxml_base:planetCodeType"/>
          <xs:element name="DeliveryPointZIP" type="mailxml_base:RoutingZipCodeType"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="DeliveryContainerID" type="mailxml_base:ns22"/>
          <xs:element name="DeliveryPointZIP" type="mailxml_base:RoutingZipCodeType"/>
        </xs:sequence>
      </xs:choice>
      <xs:element name="PieceID" type="mailxml_base:s22"/>
      <xs:element minOccurs="0" name="WastedPieceIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" name="MLOCRrateANDpostageMarking" type="mailxml_base:s07"/>
      <xs:element minOccurs="0" name="MoveComplianceUpdateMethod" type="mailxml_base:moveUpdateMethodType"/>
      <xs:element minOccurs="0" name="MailOwner" type="mailxml:mailOwnerBlockType"/>
      <xs:element minOccurs="0" name="BarCodeApplicator" type="mailxml:participantIDType"/>
      <xs:element minOccurs="0" name="MachineID" type="mailxml_base:s04"/>
      <xs:element minOccurs="0" name="CustomerBundleID" type="mailxml_base:s12"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Message Response Retrieval Request Type ===-->
  <xs:complexType name="messageResponseRetrievalRequestType">
    <xs:sequence/>
    <xs:attribute name="TrackingID" type="mailxml_base:s12" use="required"/>
  </xs:complexType>
  <!--=== Message Response Retrieval Response Type === cr 69 v2.1 dk-->
  <!--=== Updated to include/delete Responses in V4.0 dk ===-->
  <!--=== Updated to include new responses in 5.0 dk ==-->
  <!--=== Updated for v6.0 dk ==-->
  <!--=== v6.0A dk Errata ib_03 ==-->
  <xs:complexType name="messageResponseRetrievalResponseType">
    <xs:sequence>
      <xs:choice>
        <xs:element name="QueryResults">
          <xs:complexType>
            <xs:sequence>
              <xs:choice>
                <xs:element ref="mailxml:AllApptCloseoutResponse"/>
                <xs:element ref="mailxml:ApptInductionCloseoutResponse"/>
                <xs:element ref="mailxml:BeginCombinedMailingResponse"/>
                <xs:element ref="mailxml:BundleDetailCreateResponse"/>
                <xs:element ref="mailxml:BundleDetailCancelResponse"/>
                <xs:element ref="mailxml:ByForConflictQueryResponse"/>
                <xs:element ref="mailxml:CastofCharactersCreateResponse"/>
                <xs:element ref="mailxml:CastofCharactersCancelResponse"/>
                <xs:element ref="mailxml:CastofCharactersUpdateResponse"/>
                <xs:element ref="mailxml:CloseMailingGroupResponse"/>
                <xs:element ref="mailxml:ConsolidatedPeriodicalStatementCreateResponse"/>
                <xs:element ref="mailxml:ContainerBundleReportCreateResponse"/>
                <xs:element ref="mailxml:ContainerBundleReportCancelResponse"/>
                <xs:element ref="mailxml:ContainerBundleReportQueryResponse"/>
                <xs:element ref="mailxml:ContainerStatusQueryResponse"/>
                <xs:element ref="mailxml:CustomerSupplierAgreementQueryResponse"/>
                <xs:element ref="mailxml:CustomerRelationIdentifyQueryResponse"/>
                <xs:element ref="mailxml:CustomerRelationIdentifyUpdateResponse"/>
                <xs:element ref="mailxml:DeliveryPointValidationQueryResponse"/>
                <xs:element ref="mailxml:DeliveryApptStatusQueryResponse"/>
                <xs:element ref="mailxml:DeliveryApptQueryResponse"/>
                <xs:element ref="mailxml:DeliveryApptCreateResponse"/>
                <xs:element ref="mailxml:DeliveryApptCancelResponse"/>
                <xs:element ref="mailxml:DeliveryApptCancelCreateResponse"/>
                <xs:element ref="mailxml:DeliveryApptUpdateResponse"/>
                <xs:element ref="mailxml:DeliveryApptShellCreateResponse"/>
                <xs:element ref="mailxml:DeliveryApptShellUpdateResponse"/>
                <xs:element ref="mailxml:DeliveryApptTransportationUpdateResponse"/>
                <xs:element ref="mailxml:DeliveryContentCreateResponse"/>
                <xs:element ref="mailxml:DeliveryContentUpdateResponse"/>
                <xs:element ref="mailxml:DeliveryContentCancelResponse"/>
                <xs:element ref="mailxml:DeliveryContentQueryResponse"/>
                <xs:element ref="mailxml:EndCombinedMailingResponse"/>
                <xs:element ref="mailxml:Fault"/>
                <xs:element ref="mailxml:FullServiceAddressCorrectionQueryResponse"/>
                <xs:element ref="mailxml:FullServiceNixieDetailQueryResponse"/>
                <xs:element ref="mailxml:FullServiceContainerVisibilityQueryResponse"/>
                <xs:element ref="mailxml:MailingGroupQueryResponse"/>
                <xs:element ref="mailxml:MailPieceCreateResponse"/>
                <xs:element ref="mailxml:MailPieceUpdateResponse"/>
                <xs:element ref="mailxml:MailPieceCancelResponse"/>
                <xs:element ref="mailxml:OpenApptQueryResponse"/>
                <xs:element ref="mailxml:OpenMailingGroupResponse"/>
                <xs:element ref="mailxml:OriginalContainerLinkageCreateResponse"/>
                <xs:element ref="mailxml:OriginalContainerLinkageCancelResponse"/>
                <xs:element ref="mailxml:PartnerApptQueryResponse"/>
                <xs:element ref="mailxml:PaymentMessageQueryResponse"/>
                <xs:element ref="mailxml:PeriodicalStatementQueryResponse"/>
                <xs:element ref="mailxml:PeriodicalStatementCreateResponse"/>
                <xs:element ref="mailxml:PeriodicalStatementCancelResponse"/>
                <xs:element ref="mailxml:PickupApptCreateResponse"/>
                <xs:element ref="mailxml:PickupApptUpdateResponse"/>
                <xs:element ref="mailxml:PickupApptCancelResponse"/>
                <xs:element ref="mailxml:PostageAdjustmentCreateResponse"/>
                <xs:element ref="mailxml:PostageStatementQueryResponse"/>
                <xs:element ref="mailxml:PostageStatementCreateResponse"/>
                <xs:element ref="mailxml:PostageStatementCancelResponse"/>
                <xs:element ref="mailxml:PostageStatementStatusQueryResponse"/>
                <xs:element ref="mailxml:QualificationReportCreateResponse"/>
                <xs:element ref="mailxml:QualificationReportQueryResponse"/>
                <xs:element ref="mailxml:ReconciliationReportQueryResponse"/>
                <xs:element ref="mailxml:RecurringApptQueryResponse"/>
                <xs:element ref="mailxml:SiblingContainerCreateResponse"/>
                <xs:element ref="mailxml:SiblingContainerCancelResponse"/>
                <xs:element ref="mailxml:StartTheClockQueryResponse"/>
                <xs:element ref="mailxml:SystemVersionQueryResponse"/>
                <xs:element ref="mailxml:USPSCRIDQueryResponse"/>
                <xs:element ref="mailxml:USPSCRIDCreateResponse"/>
                <xs:element ref="mailxml:USPSMIDQueryResponse"/>
                <xs:element ref="mailxml:USPSMIDCreateResponse"/>
                <xs:element ref="mailxml:USPSForecastCancelResponse"/>
                <xs:element ref="mailxml:USPSForecastCreateResponse"/>
                <xs:element ref="mailxml:USPSForecastUpdateResponse"/>
              </xs:choice>
              <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="mailxml:QueryError"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="TrackingID" type="mailxml_base:s12" use="required"/>
  </xs:complexType>
  <!--=== Message Response Not Available Response Type ===-->
  <xs:complexType name="messageResponseNotAvailableResponseType">
    <xs:sequence minOccurs="0">
      <xs:element name="ReturnInfo" type="mailxml:returnInfoType"/>
    </xs:sequence>
    <xs:attribute name="TrackingID" type="mailxml_base:s12" use="required"/>
  </xs:complexType>
  <!--=== MID Type ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:complexType name="midEntryType">
    <xs:sequence>
      <xs:element name="CustomerCRID" type="mailxml_base:CRIDType"/>
      <xs:element name="CustomerName" type="xs:string"/>
      <xs:element name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
      <xs:element name="CompanyHQIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="Address1" type="mailxml_base:s64"/>
      <xs:element name="Address2" type="mailxml_base:s64"/>
      <xs:element name="City" type="mailxml_base:s50"/>
      <xs:element name="State" type="mailxml_base:s02"/>
      <xs:element name="ZipCode" type="mailxml_base:ns05"/>
      <xs:element name="SequenceNumber" type="xs:integer"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== MID Type ===-->
  <!--=== V5.0 dk CR 121 ===-->
  <xs:complexType name="MIDType">
    <xs:choice>
      <xs:element name="MID6" type="mailxml_base:mailerID6Type"/>
      <xs:element name="MID9" type="mailxml_base:mailerID9Type"/>
    </xs:choice>
  </xs:complexType>
  <!--=== MPU Group Type ===-->
  <!--=== v5.0 dk ===-->
  <xs:complexType name="mpuGroupType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="ComponentWeightItem" type="mailxml:componentWeightItemType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== MPU Verification Table Type ===-->
  <!--=== v5.0 dk ===-->
  <xs:complexType name="mpuVerificationTableType">
    <xs:sequence>
      <xs:element name="WeightTolerancePercentage" type="xs:string"/>
      <xs:element maxOccurs="unbounded" name="MPUCommonHostComponentGroup" type="mailxml:mpuCommonHostCPTGroupType"/>
      <xs:element name="MPUGrandTotals" type="xs:nonNegativeInteger"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== MPU Common Host CPT Group Type ===-->
  <!--=== v5.0 dk ===-->
  <xs:complexType name="mpuCommonHostCPTGroupType">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="MPUItem" type="mailxml:mpuItemType"/>
      <xs:element name="MPUSubTotals" type="xs:nonNegativeInteger"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== MPU Item Type ===-->
  <!--=== v5.0 dk ===-->
  <xs:complexType name="mpuItemType">
    <xs:sequence>
      <xs:element name="ContainerShipDate" type="xs:date"/>
      <xs:element minOccurs="0" name="USPSRequestedWeightVerificationDate" type="xs:date"/>
      <xs:element name="JobID" type="mailxml_base:jobIDType"/>
      <xs:element name="SegmentID" type="mailxml_base:segmentIDType"/>
      <xs:element name="MPUID" type="mailxml_base:mpuIDType"/>
      <xs:element name="MPUName" type="xs:string"/>
      <xs:element name="MPUDescription" type="xs:string"/>
      <xs:element minOccurs="0" maxOccurs="1" name="AdditionalComponents" type="mailxml:mpuGroupType"/>
      <xs:element name="VersionNumOnPhysicalBook" type="xs:string"/>
      <xs:element name="USPSVerifiedWeight" type="xs:string"/>
      <xs:element name="PercentageWeightDifference" type="xs:string"/>
      <xs:element name="MPUWeightToleranceException" type="xs:boolean"/>
      <xs:element minOccurs="0" name="AdvertisingPercentage" type="xs:string"/>
      <xs:element name="TotalCopies" type="xs:nonNegativeInteger"/>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType N===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType O===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== One Time Appt Type ===-->
  <!-- PST 12-jan modified -->
  <xs:complexType name="oneTimeApptType">
    <xs:sequence>
      <xs:element name="PreferredAppt" type="xs:dateTime"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OptionalAppt" type="mailxml:optionalApptType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Optional Appt Type ===-->
  <!--=== Changed to/from to start/end per CR 40 for consistency ===-->
  <xs:complexType name="optionalApptType">
    <xs:sequence>
      <xs:element name="Start" type="xs:dateTime"/>
      <xs:element name="End" type="xs:dateTime"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Optional Return Info Type with ReturnCode Optional ===-->
  <xs:complexType name="optReturnInfoType">
    <xs:sequence>
      <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element minOccurs="0" name="ReturnCode" type="mailxml_base:ns04"/>
        <xs:element name="ReturnDescription" type="mailxml_base:s260"/>
      </xs:sequence>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType P===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Pallet Unit Type ===-->
  <!--=== Added USPSContainerInfo in V2.0 ===-->
  <!--=== Deleted USPSContainerInfo and added HandlingUnit per CR 106 v3.0 DK ===-->
  <xs:complexType name="palletUnitType">
    <xs:choice>
      <xs:element maxOccurs="unbounded" name="PalletPreSortLevel" type="mailxml:palletPresortType"/>
      <xs:element name="USPSContainerInfo" type="mailxml:uspsContainerInfoType"/>
    </xs:choice>
    <xs:attribute name="Count" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute name="HandlingUnitType" type="mailxml_base:palletHandlingUnitType" use="required"/>
    <xs:attribute name="PalletType" type="mailxml_base:palletType" use="required"/>
  </xs:complexType>
  <!--=== Pallet Container Record ===-->
  <!--=== v5.0 dk            ===-->
  <xs:complexType name="palletContainerRecordType">
    <xs:sequence>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
      <xs:element name="PublicationTitle" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="PostageStatementLineNumber" type="mailxml_base:postageStatementLineNumber1Type"/>
      <xs:element name="ChargeableContainerLevel" type="mailxml_base:chargeableContainerLevelType"/>
      <xs:element name="ChargeableEntryLevel" type="mailxml_base:chargeableEntryLevelType"/>
      <xs:element name="Containers" type="xs:double"/>
      <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:s06"/>
      <xs:element name="IssueDate" type="xs:date"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Pallet Presort Type ===-->
  <!--=== Added USPSLContainerInfo in V2.0 ===-->
  <xs:complexType name="palletPresortType">
    <xs:sequence>
      <xs:element minOccurs="0" name="USPSContainerInfo" type="mailxml:uspsContainerInfoType"/>
    </xs:sequence>
    <xs:attribute name="MailDatCode" type="mailxml_base:containerLevelType" use="required"/>
    <xs:attribute name="Count" type="xs:nonNegativeInteger" use="required"/>
  </xs:complexType>
  <!--=== Pallet Container MPU Record Type ===-->
  <xs:complexType name="palletContainerMPURecordType">
    <xs:sequence>
      <xs:element name="MPUItem" type="mailxml:simpleMpuItemType"/>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
      <xs:element name="PublicationTitle" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="PostageStatementLineNumber" type="mailxml_base:postageStatementLineNumber1Type"/>
      <xs:element name="ChargeableContainerLevel" type="mailxml_base:chargeableContainerLevelType"/>
      <xs:element name="ChargeableEntryLevel" type="mailxml_base:chargeableEntryLevelType"/>
      <xs:element name="Containers" type="xs:double"/>
      <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:s06"/>
      <xs:element name="IssueDate" type="xs:date"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Participant ID Type ===-->
  <!--=== CR 83 v3.0 dk sync with PDRxml ===-->
  <!--=== dk 4.0 added maildat User Code per comment resolution ===-->
  <xs:complexType name="participantIDType">
    <xs:sequence/>
    <xs:attribute name="MailerID6" type="mailxml_base:mailerID6Type"/>
    <xs:attribute name="MailerID9" type="mailxml_base:mailerID9Type"/>
    <xs:attribute name="CRID" type="mailxml_base:CRIDType"/>
    <xs:attribute name="SchedulerID" type="mailxml_base:s12"/>
    <xs:attribute name="MaildatUserLicense" type="mailxml_base:userLicenseCodeType"/>
  </xs:complexType>
  <!--=== Partner Appt Block Type ===-->
  <!--=== v5.0 dk ===-->
  <xs:complexType name="PartnerApptBlockType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element name="ConsigneeApptID" type="mailxml_base:s12"/>
      <xs:element name="ScheduledAppt" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="TrailerInfo" type="mailxml:trailerInfoType"/>
      <xs:element maxOccurs="unbounded" name="ContentDetailInfoUpdate" type="mailxml:contentDetailInfoUpdateType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Periodical Combined Mailing Data Type ==-->
  <!--=== v5.0 dk ==-->
  <xs:complexType name="periodicalCombinedMailingDataType">
    <xs:sequence>
      <xs:element name="CombinedMailingID" type="xs:nonNegativeInteger"/>
      <xs:element name="FirstPeriodicalCombinedMailing" type="xs:boolean"/>
      <xs:element name="LastPeriodicalCombinedMailing" type="xs:boolean"/>
      <xs:element name="MaxStatements" type="xs:int"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Periodical Mail Header Type ==-->
  <!--=== v5.0 dk ==-->
  <!--=== v6.0A dk sm_19 ==-->
  <xs:complexType name="periodicalMailHeaderType">
    <xs:sequence>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
      <xs:element name="IssueDate" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:ns06"/>
      <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:ns05"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Periodical Statement Data Type ===-->
  <!--=== v5.0 DK ===-->
  <xs:complexType name="periodicalStatementDataType">
    <xs:complexContent>
      <xs:extension base="mailxml:abstractPeriodicalStatementDataType">
        <xs:sequence>
          <xs:element minOccurs="0" name="StatementID" type="xs:nonNegativeInteger"/>
          <xs:element minOccurs="0" name="MailClass" type="mailxml_base:mailClassType"/>
          <xs:element minOccurs="0" name="Origin" type="mailxml_base:s06"/>
          <xs:element minOccurs="0" name="Stage" type="mailxml_base:s04"/>
          <xs:element name="TotalCopies" type="xs:nonNegativeInteger"/>
          <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
          <xs:element name="TotalPostageAmount" type="xs:double"/>
          <xs:element name="TotalWeight" type="xs:double"/>
          <xs:element name="MailingAgentData" type="mailxml:mailerDataType"/>
          <xs:element name="PublisherData" type="mailxml:mailerDataType"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <!--====== Permit Pubication Data Type    =======-->
  <!--=== v5.0 DK per review comments ===-->
  <xs:complexType name="permitPublicationDataType">
    <xs:choice>
      <xs:sequence>
        <xs:element name="PermitNumber" type="mailxml_base:s08"/>
        <xs:element minOccurs="0" name="PermitType" type="mailxml_base:permitTypeType"/>
        <xs:element name="PermitZip4" type="mailxml_base:ns09"/>
      </xs:sequence>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
    </xs:choice>
  </xs:complexType>
  <!--===  Pickup Appt Block Request Type ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <xs:complexType name="pickupApptBlockRequestType">
    <xs:sequence>
      <xs:element name="SubmittingParty" type="mailxml:participantIDType"/>
      <xs:element name="SubmittingSoftware" type="mailxml:submittingSoftwareType"/>
      <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element name="PickupLocation" type="mailxml:consigneeFacilityType"/>
      <xs:element name="PreferredAppt" type="xs:dateTime"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OptionalAppt" type="mailxml:optionalApptType"/>
      <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      <xs:element name="TransportationResponsibility" type="mailxml_base:responsibleTransportationPartyType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Pickup Appt Block Response Type  ===-->
  <!--=== CR 93 v3.0 dk ===-->
  <xs:complexType name="pickupApptBlockResponseType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element name="PickupLocation" type="mailxml:consigneeFacilityType"/>
      <xs:element name="ScheduledAppt" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="Comment" type="mailxml_base:s256"/>
      <xs:element name="TransportationResponsibility" type="mailxml_base:responsibleTransportationPartyType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== PDR Mail Piece Block Type ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <xs:complexType name="PDRMailPieceBlockType">
    <xs:sequence>
      <xs:element name="PackageID" type="mailxml_base:packageIDType"/>
      <xs:element name="CQTDatabaseID" type="mailxml_base:CQTdatabaseIDType"/>
      <xs:element name="MailPieceBlock" type="mailxml:mailPieceBlockType"/>
    </xs:sequence>
  </xs:complexType>
  <!--===  Piece Range Block Type     ===-->
  <!--=== V5.0 dk CR 172 ===-->
  <!--=== v6.0 dk standardized on &quot;iMB&quot; comment 5112    ===-->
  <xs:complexType name="pieceRangeBlockType">
    <xs:sequence>
      <xs:element name="IMbarcodeLowerSerialization">
        <xs:complexType>
          <xs:choice>
            <xs:sequence>
              <xs:element name="MailerID6" type="mailxml_base:mailerID6Type"/>
              <xs:element name="SerialNumber9" type="mailxml_base:iMBSerialNumber9Type"/>
            </xs:sequence>
            <xs:sequence>
              <xs:element name="MailerID9" type="mailxml_base:mailerID9Type"/>
              <xs:element name="SerialNumber6" type="mailxml_base:iMBSerialNumber6Type"/>
            </xs:sequence>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="IMbarcodeUpperSerialization">
        <xs:complexType>
          <xs:choice>
            <xs:sequence>
              <xs:element name="MailerID6" type="mailxml_base:mailerID6Type"/>
              <xs:element name="SerialNumber9" type="mailxml_base:iMBSerialNumber9Type"/>
            </xs:sequence>
            <xs:sequence>
              <xs:element name="MailerID9" type="mailxml_base:mailerID9Type"/>
              <xs:element name="SerialNumber6" type="mailxml_base:iMBSerialNumber6Type"/>
            </xs:sequence>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="MailPreparer" type="mailxml:participantIDType"/>
      <xs:element minOccurs="0" name="MailOwner" type="mailxml:participantIDType"/>
      <xs:choice>
        <xs:element name="ServiceTypeCode" type="mailxml_base:ServiceTypeCodeType"/>
        <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
      </xs:choice>
      <xs:element name="ServiceLevelIndicator" type="mailxml_base:serviceLevelIndicatorType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Postage Statement Data Type ===-->
  <!--=== v5.0 DK ===-->
  <xs:complexType name="postageStatementDataType">
    <xs:complexContent>
      <xs:extension base="mailxml:abstractPostageStatementDataType">
        <xs:sequence>
          <xs:element minOccurs="0" name="StatementID" type="xs:nonNegativeInteger"/>
          <xs:element name="ConfirmationNumber" type="xs:nonNegativeInteger"/>
          <xs:element minOccurs="0" name="MailClass" type="mailxml_base:mailClassType"/>
          <xs:element minOccurs="0" name="Origin" type="xs:string"/>
          <xs:element name="SpecialFeesAmount" type="xs:double"/>
          <xs:element minOccurs="0" name="Stage" type="xs:string"/>
          <xs:element name="TotalPieces" type="xs:nonNegativeInteger"/>
          <xs:element name="TotalPostageAmount" type="xs:double"/>
          <xs:element name="TotalPostageAmountDue" type="xs:double"/>
          <xs:element name="TotalWeight" type="xs:double"/>
          <xs:element name="PermitHolderData" type="mailxml:mailerDataType"/>
          <xs:element minOccurs="0" name="MailingOwnerData" type="mailxml:mailerDataType"/>
          <xs:element minOccurs="0" name="MailingAgentData" type="mailxml:mailerDataType"/>
          <xs:element minOccurs="0" name="PermitHolderForAPData" type="mailxml:mailerDataType"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <!--=== Postage Statement Summary Type ===-->
  <!--=== v5.0 DK ===-->
  <!--=== v6.0A dk Errate sm_13 ===-->
  <xs:complexType name="postageStatementSummaryType">
    <xs:sequence>
      <xs:element minOccurs="0" name="StatementID" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" name="UserPostageStatementSequenceID" type="mailxml_base:ns10"/>
      <xs:element minOccurs="0" name="USPSPostageStatementSequenceID" type="mailxml_base:ns10"/>
      <xs:element name="PostageStatementStatus" type="mailxml_base:postageStatementStatusType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Presort Type ===-->
  <xs:complexType name="presortType">
    <xs:attribute name="MailDatCode" type="mailxml_base:containerLevelType" use="required"/>
    <xs:attribute name="Count" type="xs:nonNegativeInteger" use="required"/>
  </xs:complexType>
  <!--===complexType Q===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Qualification Report Data Type ===-->
  <!--=== V5.0 dk              ===-->
  <!--=== v6.0 dk RSS15 ===-->
  <!--=== v6.0 dk RSS24 remove , MailingGroupID, CustomerGroupID, MailingFacility, PostOfficeOfMailingZip ===-->
  <!--=== v6.0 dk RSS25 delete postageStatementMailingDate ===-->
  <xs:complexType name="qualificationReportDataType">
    <xs:sequence>
      <xs:element minOccurs="0" name="DMMSection" type="mailxml_base:s12"/>
      <xs:element name="BatchManifestIndicator" type="xs:boolean"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:ContainerInfoData"/>
      <xs:element minOccurs="0" name="CustomerQualificationReportID" type="mailxml_base:s66"/>
      <xs:element name="FormType" type="mailxml_base:formType"/>
      <xs:element name="PreparedDate" type="xs:dateTime"/>
      <xs:element name="Preparer" type="mailxml:permitPublicationDataType"/>
      <xs:element minOccurs="0" name="PresortSWCompany" type="mailxml_base:s50"/>
      <xs:element minOccurs="0" name="PresortSWProduct" type="mailxml_base:s50"/>
      <xs:element minOccurs="0" name="PresortSWVersion" type="mailxml_base:s20"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mailxml:DocumentVersionDataWithPermit"/>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType R===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Recurring Appt Type ===-->
  <xs:complexType name="recurringApptType">
    <xs:sequence>
      <xs:element name="EffectiveStartDate" type="xs:date"/>
      <xs:element name="EffectiveEndDate" type="xs:date"/>
      <xs:element name="ApptTime" type="xs:time"/>
      <xs:element maxOccurs="unbounded" name="DayFrequency" type="mailxml_base:dayFrequencyType"/>
      <xs:element maxOccurs="unbounded" name="WeekFrequency" type="mailxml_base:weekFrequencyType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Recurring Appt Block Type ===-->
  <!--=== v4.0 dk comment resolution ===-->
  <xs:complexType name="recurringApptBlockType">
    <xs:sequence>
      <xs:element name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:element name="RecurringData" type="mailxml:recurringApptType"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="USPSsummary" type="mailxml:uspsSummaryType"/>
      <xs:element maxOccurs="unbounded" name="PostalClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="ReturnInfo" type="mailxml:basicReturnInfoType"/>
    </xs:sequence>
    <xs:attributeGroup ref="mailxml:RecurringApptQueryResponseHeaderInfo"/>
  </xs:complexType>
  <!--=== Return Info Type ===-->
  <!--=== ReturnCode / ReturnDescription now 0 to many V1.1 ===-->
  <xs:complexType name="returnInfoType">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConsigneeFacility" type="mailxml:consigneeFacilityType"/>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ReturnCode" type="mailxml_base:ns04"/>
        <xs:element name="ReturnDescription" type="mailxml_base:s260"/>
      </xs:sequence>
    </xs:sequence>
  </xs:complexType>
  <!--===complexType S===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Sack Tray Container Record ===-->
  <!--=== v5.0 dk            ===-->
  <xs:complexType name="sackTrayContainerRecordType">
    <xs:sequence>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
      <xs:element name="PublicationTitle" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="PostageStatementLineNumber" type="mailxml_base:postageStatementLineNumber2Type"/>
      <xs:element name="ChargeableContainerLevel" type="mailxml_base:chargeableContainerLevelType"/>
      <xs:element name="ChargeableEntryLevel" type="mailxml_base:chargeableEntryLevelType"/>
      <xs:element name="Containers" type="xs:double"/>
      <xs:element name="IssueDate" type="xs:date"/>
      <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:s06"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Sack Tray Container MPU Record ===-->
  <!--=== v5.0 dk            ===-->
  <xs:complexType name="sackTrayContainerMPURecordType">
    <xs:sequence>
      <xs:element name="MPUItem" type="mailxml:simpleMpuItemType"/>
      <xs:element name="PublicationNumber" type="mailxml_base:ns09"/>
      <xs:element name="PublicationTitle" type="mailxml_base:s60"/>
      <xs:element minOccurs="0" name="PostageStatementLineNumber" type="mailxml_base:postageStatementLineNumber2Type"/>
      <xs:element name="ChargeableContainerLevel" type="mailxml_base:chargeableContainerLevelType"/>
      <xs:element name="ChargeableEntryLevel" type="mailxml_base:chargeableEntryLevelType"/>
      <xs:element name="Containers" type="xs:double"/>
      <xs:element name="IssueDate" type="xs:date"/>
      <xs:element minOccurs="0" name="IssueNumber" type="mailxml_base:s06"/>
      <xs:element minOccurs="0" name="VolumeNumber" type="mailxml_base:s06"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Simple MPU Item ===-->
  <!--=== v5.0 dk ===-->
  <xs:complexType name="simpleMpuItemType">
    <xs:sequence>
      <xs:element name="SegmentID" type="mailxml_base:segmentIDType"/>
      <xs:sequence minOccurs="0">
        <xs:element name="MPUID" type="mailxml_base:MPUIDType"/>
        <xs:element name="MPUName" type="mailxml_base:s12"/>
        <xs:element name="MPUDescription" type="mailxml_base:s30"/>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element name="VersionID" type="mailxml_base:s10"/>
        <xs:element name="VersionName" type="mailxml_base:s12"/>
      </xs:sequence>
    </xs:sequence>
  </xs:complexType>
  <!--=== Slot Availibility Type ===-->
  <!--=== dk v5.0 CR 163 - Added Slot Availability. ===-->
  <xs:complexType name="slotAvailibilityType">
    <xs:sequence>
      <xs:element name="ApptType" type="mailxml_base:apptTypeType"/>
      <xs:element maxOccurs="unbounded" name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="Perishable" type="mailxml_base:yesNo"/>
      <xs:element name="ApptStartTime" type="xs:dateTime"/>
      <xs:element name="ApptEndTime" type="xs:dateTime"/>
      <xs:element name="ApplyTiers" type="mailxml_base:yesNo"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Standard Mail Header ===-->
  <!--=== v5.0 dk ===-->
  <xs:complexType name="standardMailHeaderType">
    <xs:sequence>
      <xs:element name="PermitPublicationData" type="mailxml:permitPublicationDataType"/>
      <xs:element name="CompanyName" type="mailxml_base:s40"/>
      <xs:element minOccurs="0" name="IssueDate" type="xs:dateTime"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Submitting Software ===-->
  <!--=== V5.0 dk CR 158 ===-->
  <xs:complexType name="submittingSoftwareType">
    <xs:sequence/>
    <xs:attribute name="SoftwareName" type="xs:string" use="required"/>
    <xs:attribute name="Vendor" type="xs:string" use="required"/>
    <xs:attribute name="Version" type="xs:string" use="required"/>
    <xs:attribute name="ApprovalDate" type="xs:dateTime"/>
    <xs:attribute name="ApprovalKey" type="xs:string"/>
  </xs:complexType>
  <!--=== Summary Record Update Type ===-->
  <!--=== v5.0 dk updated to Mail.dat 9-1 ===-->
  <!--=== v6.0 dk comment pt01 ===-->
  <xs:complexType name="summaryRecordUpdateType">
    <xs:sequence>
      <xs:element name="MailDatContainer" type="mailxml:mailDatContainerIDType"/>
      <xs:choice minOccurs="0" maxOccurs="2">
        <xs:sequence>
          <xs:element name="EntryPointEDPostalCode" type="mailxml_base:entryPointEDPostalCodeType"/>
          <xs:element name="EntryPointEDFacilityType" type="mailxml_base:entryPointEDFacilityTypeType"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="EntryPointADLocaleKey" type="mailxml_base:entryPointADLocaleKeyType"/>
          <xs:element name="EntryPointADPostalCode" type="mailxml_base:entryPointADPostalCodeType"/>
        </xs:sequence>
      </xs:choice>
      <xs:element minOccurs="0" name="ContainerGroupingDescription" type="mailxml_base:s09"/>
      <xs:element minOccurs="0" name="ParentContainerRefID" type="mailxml_base:parentContainerRefIDType"/>
      <xs:element minOccurs="0" name="TruckDispatchNumber" type="mailxml_base:truckDispatchNumberType"/>
      <xs:element minOccurs="0" name="StopDesignator" type="mailxml_base:stopDesignatorType"/>
      <xs:element minOccurs="0" name="ReservationNumber" type="mailxml_base:reservationNumberType"/>
      <xs:sequence minOccurs="0">
        <xs:element name="ContainerShipDate" type="mailxml_base:containerShipDateType"/>
        <xs:element name="ContainerShipTime" type="mailxml_base:containerShipTimeType"/>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element name="ScheduledShipDate" type="mailxml_base:containerShipDateType"/>
        <xs:element name="ScheduledShipTime" type="mailxml_base:containerShipTimeType"/>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element name="ActualContainerShipDate" type="mailxml_base:containerShipDateType"/>
        <xs:element name="ActualContainerShipTime" type="mailxml_base:containerShipTimeType"/>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element name="SchdeuledContainerPickupDate" type="mailxml_base:containerPickupDateType"/>
        <xs:element name="ScheduledContainerPickupTime" type="mailxml_base:containerPickupTimeType"/>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element name="ActualContainerPickupDate" type="mailxml_base:containerPickupDateType"/>
        <xs:element name="ActualContainerPickupTime" type="mailxml_base:containerPickupTimeType"/>
      </xs:sequence>
      <xs:element minOccurs="0" name="ContainerAcceptanceDate" type="mailxml_base:containerAcceptanceDateType"/>
      <xs:element minOccurs="0" name="ScheduledInHomeDate" type="mailxml_base:scheduledInHomeDateType"/>
      <xs:element minOccurs="0" name="AdditionalInHomeRange" type="mailxml_base:additionalInHomeRangeType"/>
      <xs:sequence minOccurs="0">
        <xs:element name="ScheduledInductionDate" type="mailxml_base:scheduledInductionDateType"/>
        <xs:element name="ScheduledInductionTime" type="mailxml_base:scheduledInductionTimeType"/>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element name="ActualInductionDate" type="xs:date"/>
        <xs:element name="ActualInductionTime" type="xs:time"/>
      </xs:sequence>
      <xs:sequence minOccurs="0">
        <xs:element name="PostageStatementMailingDate" type="xs:date"/>
        <xs:element name="PostageStatementMailingTime" type="xs:time"/>
      </xs:sequence>
      <xs:element minOccurs="0" name="ContainerReadyToPayTransactionID" type="mailxml_base:n06"/>
      <xs:element minOccurs="0" name="TransportationCarrierID" type="mailxml_base:s15"/>
      <xs:element minOccurs="0" name="IncludedInOtherDocumentation" type="xs:boolean"/>
      <xs:element minOccurs="0" name="CSATripID" type="mailxml_base:s10"/>
      <xs:element minOccurs="0" name="InternalDate" type="mailxml_base:internalDateType"/>
      <xs:element minOccurs="0" name="TotalWeight" type="mailxml_base:totalWeightType"/>
      <xs:element minOccurs="0" name="UniqueContainerID" type="mailxml_base:uniqueContainerIDType"/>
      <xs:element minOccurs="0" name="ContainerStatus" type="mailxml_base:containerStatusType"/>
      <xs:element minOccurs="0" name="TransShipBoLNumber" type="mailxml_base:transShipBoLNumberType"/>
      <xs:element minOccurs="0" name="PostageGroupingID" type="mailxml_base:postageGroupingIDType"/>
      <xs:element minOccurs="0" name="ContainerGrossWeight" type="mailxml_base:containerGrossWeightType"/>
      <xs:element minOccurs="0" name="ContainerHeight" type="mailxml_base:containerHeightType"/>
      <xs:element minOccurs="0" name="ContainerHeightSource" type="mailxml_base:containerHeightSourceType"/>
      <xs:element minOccurs="0" name="EMD8125ASNBarcode" type="mailxml_base:eMD8125ASNBarcodeType"/>
      <xs:element minOccurs="0" name="TransportDUNSNumber" type="mailxml_base:s15"/>
      <xs:element minOccurs="0" name="IMBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
      <xs:element minOccurs="0" name="ContainerBarcode" type="mailxml_base:containerBarcodeType"/>
      <xs:element minOccurs="0" name="UserInformationLine1" type="mailxml_base:userInformationLine1Type"/>
      <xs:element minOccurs="0" name="UserInformationLine2" type="mailxml_base:userInformationLine2Type"/>
      <xs:element minOccurs="0" name="FASTContentID" type="mailxml_base:fASTContentIDType"/>
      <xs:element minOccurs="0" name="FASTSchedulerID" type="mailxml_base:fASTSchedulerIDType"/>
      <xs:element minOccurs="0" name="IMBUpperSerialization" type="mailxml_base:iMBUpperSerializationType"/>
      <xs:element minOccurs="0" name="IMBLowerSerialization" type="mailxml_base:iMBLowerSerializationType"/>
      <xs:element minOccurs="0" name="USPSPickup" type="mailxml_base:uspsPickupType"/>
    </xs:sequence>
  </xs:complexType>
  <!--    &lt;xs:complexType name=&quot;summaryRecordUpdateType&quot;&gt;
            &lt;xs:sequence&gt;
                &lt;xs:element name=&quot;MailDatContainer&quot; type=&quot;mailxml:mailDatContainerIDType&quot;/&gt;
                &lt;xs:element name=&quot;ContainerGroupingDescription&quot; minOccurs=&quot;0&quot;&gt;
                &lt;xs:complexType&gt;
                    &lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;2&quot;&gt;
                      &lt;xs:sequence&gt;
                        &lt;xs:element name=&quot;EntryPointEDPostalCode&quot; type=&quot;mailxml_base:entryPointEDPostalCodeType&quot; /&gt;
                        &lt;xs:element name=&quot;EntryPointEDFacilityType&quot; type=&quot;mailxml_base:entryPointEDFacilityTypeType&quot;/&gt;
                      &lt;/xs:sequence&gt;
                      &lt;xs:sequence&gt;
                        &lt;xs:element name=&quot;EntryPointADLocaleKey&quot; type=&quot;mailxml_base:entryPointADLocaleKeyType&quot; /&gt;
                        &lt;xs:element name=&quot;EntryPointADPostalCode&quot; type=&quot;mailxml_base:entryPointADPostalCodeType&quot;/&gt;
                      &lt;/xs:sequence&gt;
                    &lt;/xs:choice&gt;
                &lt;/xs:complexType&gt;
                &lt;/xs:element&gt;
                &lt;xs:element name=&quot;ParentContainerRefID&quot; type=&quot;mailxml_base:parentContainerRefIDType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;TruckDispatchNumber&quot; type=&quot;mailxml_base:truckDispatchNumberType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;StopDesignator&quot; type=&quot;mailxml_base:stopDesignatorType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;ReservationNumber&quot; type=&quot;mailxml_base:reservationNumberType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;ContainerShipDate&quot; type=&quot;mailxml_base:containerShipDateType&quot;/&gt;
                    &lt;xs:element name=&quot;ContainerShipTime&quot; type=&quot;mailxml_base:containerShipTimeType&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;ScheduledShipDate&quot; type=&quot;mailxml_base:containerShipDateType&quot;/&gt;
                    &lt;xs:element name=&quot;ScheduledShipTime&quot; type=&quot;mailxml_base:containerShipTimeType&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;ActualContainerShipDate&quot; type=&quot;mailxml_base:containerShipDateType&quot;/&gt;
                    &lt;xs:element name=&quot;ActualContainerShipTime&quot; type=&quot;mailxml_base:containerShipTimeType&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;SchdeuledContainerPickupDate&quot; type=&quot;mailxml_base:containerPickupDateType&quot; /&gt;
                    &lt;xs:element name=&quot;ScheduledContainerPickupTime&quot; type=&quot;mailxml_base:containerPickupTimeType&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;ActualContainerPickupDate&quot; type=&quot;mailxml_base:containerPickupDateType&quot; /&gt;
                    &lt;xs:element name=&quot;ActualContainerPickupTime&quot; type=&quot;mailxml_base:containerPickupTimeType&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:element name=&quot;ContainerAcceptanceDate&quot; type=&quot;mailxml_base:containerAcceptanceDateType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;ScheduledInHomeDate&quot; type=&quot;mailxml_base:scheduledInHomeDateType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;AdditionalInHomeRange&quot; type=&quot;mailxml_base:additionalInHomeRangeType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;ScheduledInductionDate&quot; type=&quot;mailxml_base:scheduledInductionDateType&quot; /&gt;
                    &lt;xs:element name=&quot;ScheduledInductionTime&quot; type=&quot;mailxml_base:scheduledInductionTimeType&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;ActualInductionDate&quot; type=&quot;xs:date&quot;/&gt;
                    &lt;xs:element name=&quot;ActualInductionTime&quot; type=&quot;xs:time&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:sequence minOccurs=&quot;0&quot;&gt;
                    &lt;xs:element name=&quot;PostageStatementMailingDate&quot; type=&quot;xs:date&quot;/&gt;
                    &lt;xs:element name=&quot;PostageStatementMailingTime&quot; type=&quot;xs:time&quot;/&gt;
                &lt;/xs:sequence&gt;
                &lt;xs:element name=&quot;ContainerReadyToPayTransactionID&quot; type=&quot;mailxml_base:n06&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;TransportationCarrierID&quot; type=&quot;mailxml_base:s15&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;IncludedInOtherDocumentation&quot; type=&quot;xs:boolean&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;CSATripID&quot; type=&quot;mailxml_base:s10&quot; minOccurs=&quot;0&quot;/&gt;                
                &lt;xs:element name=&quot;InternalDate&quot; type=&quot;mailxml_base:internalDateType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;TotalWeight&quot; type=&quot;mailxml_base:totalWeightType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;UniqueContainerID&quot; type=&quot;mailxml_base:uniqueContainerIDType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;ContainerStatus&quot; type=&quot;mailxml_base:containerStatusType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;TransShipBoLNumber&quot; type=&quot;mailxml_base:transShipBoLNumberType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;PostageGroupingID&quot; type=&quot;mailxml_base:postageGroupingIDType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;ContainerGrossWeight&quot; type=&quot;mailxml_base:containerGrossWeightType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;ContainerHeight&quot; type=&quot;mailxml_base:containerHeightType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;ContainerHeightSource&quot; type=&quot;mailxml_base:containerHeightSourceType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;EMD8125ASNBarcode&quot; type=&quot;mailxml_base:eMD8125ASNBarcodeType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;TransportDUNSNumber&quot; type=&quot;mailxml_base:s15&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;IMBarcode&quot; type=&quot;mailxml_base:container24CharacterBarcodeType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;ContainerBarcode&quot; type=&quot;mailxml_base:containerBarcodeType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;UserInformationLine1&quot; type=&quot;mailxml_base:userInformationLine1Type&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;UserInformationLine2&quot; type=&quot;mailxml_base:userInformationLine2Type&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;FASTContentID&quot; type=&quot;mailxml_base:fASTContentIDType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;FASTSchedulerID&quot; type=&quot;mailxml_base:fASTSchedulerIDType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;IMBUpperSerialization&quot; type=&quot;mailxml_base:iMBUpperSerializationType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;IMBLowerSerialization&quot; type=&quot;mailxml_base:iMBLowerSerializationType&quot; minOccurs=&quot;0&quot;/&gt;
                &lt;xs:element name=&quot;USPSPickup&quot; type=&quot;mailxml_base:uspsPickupType&quot; minOccurs=&quot;0&quot;/&gt;
            &lt;/xs:sequence&gt;
        &lt;/xs:complexType&gt; -->
  <!--===complexType T===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Trailer Info Type ===-->
  <xs:complexType name="trailerInfoType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="2" name="Trailer" type="mailxml:trailerType"/>
      <xs:element minOccurs="0" name="Carrier" type="mailxml:carrierType"/>
      <xs:element maxOccurs="2" name="BillOfLadingNumber" type="mailxml_base:s15"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Trailer  Type ===-->
  <xs:complexType name="trailerType">
    <xs:sequence>
      <xs:element minOccurs="0" name="TrailerNumber" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" name="TrailerLength" type="mailxml_base:trailerLengthType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== Tray Handling Unit Type ===-->
  <!--=== changed from handling unit type for CR 106 v3.0 dk ===-->
  <xs:complexType name="trayHandlingUnitType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PreSortLevel" type="mailxml:presortType"/>
    </xs:sequence>
    <xs:attribute name="Count" type="xs:nonNegativeInteger" use="required"/>
    <xs:attribute default="MixedLengthTrays" name="Type" type="mailxml_base:trayType"/>
  </xs:complexType>
  <!--===complexType U===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== USPS Detail Type === CR 72 and CR 78 v2.1 dk -->
  <!--=== v5.0 dk removed rating type during comment period ===-->
  <xs:complexType name="uspsDetailType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="USPSMultiApptID" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" name="USPSClosedBySV" type="mailxml:uspsClosedBySVType"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== USPS Closed By Surface Visibilitiy Type ===-->
  <!--=== Added  element in V2.1  CR 72===-->
  <xs:complexType name="uspsClosedBySVType">
    <xs:sequence>
      <xs:element minOccurs="0" name="AutoScan" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" name="ManualScan" type="xs:nonNegativeInteger"/>
    </xs:sequence>
  </xs:complexType>
  <!--=== USPS Summary Type ===-->
  <!--=== Added RateType element in V1.1 ===-->
  <!--=== Added MailPreparerID and AdvanceMailingID elements in V2.0 ===-->
  <!--=== Added SchedulerContentID and ConsigneeContentID attributes in V2.0 ===-->
  <!--=== Changed EVSFileNumber to EFileNumber CR86 v3.0 dk ===-->
  <!--=== Added EvsIndicator&quot; CR86 v3.0 dk ===-->
  <!--=== Added PriorityMailIndicator and VerificationLocation re CR 93 ==-->
  <!--=== V4.0 comment 21, made the EVS and Efile atts optional ===-->
  <!--=== v5.0 dk CR 160 ===-->
  <xs:complexType name="uspsSummaryType">
    <xs:sequence>
      <xs:element name="DestinationDiscountIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="ZoneSkippingIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Pallets" type="mailxml:palletUnitType"/>
      <xs:element minOccurs="0" name="Bedload" type="mailxml:bedloadUnitType"/>
      <xs:element name="Perishable" type="mailxml_base:yesNo"/>
      <xs:element name="MailClass" type="mailxml_base:mailClassType"/>
      <xs:element minOccurs="0" name="RateType" type="mailxml_base:rateTypeType"/>
      <xs:element minOccurs="0" name="InHomeStart" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="InHomeEnd" type="xs:dateTime"/>
      <xs:element name="ProcessingCategory" type="mailxml_base:processingCategoryType"/>
      <xs:element name="NewsIndicator" type="mailxml_base:yesNo"/>
      <xs:element default="No" name="PriorityMailIndicator" type="mailxml_base:yesNo"/>
      <xs:element name="VerificationLocation" type="mailxml_base:verificationLocationType"/>
      <xs:element minOccurs="0" name="EvsIndicator" type="mailxml_base:yesNo"/>
      <xs:element minOccurs="0" name="MailContentName" type="mailxml_base:s30"/>
      <xs:element minOccurs="0" name="MailPreparerID" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AdvanceMailingID" type="mailxml_base:s09"/>
      <xs:element minOccurs="0" name="EFileNumber" type="mailxml_base:s22"/>
      <xs:element minOccurs="0" name="ContainsAutoMail" type="mailxml_base:yesNo"/>
    </xs:sequence>
    <xs:attribute name="SchedulerContentID" type="mailxml_base:s12"/>
    <xs:attribute name="ConsigneeContentID" type="mailxml_base:s12"/>
  </xs:complexType>
  <!--=== USPS Container Info Type ===-->
  <!--=== Added 3/5 digit ZIP re CR 93 v3.0 dk ===-->
  <!--=== v5.0 CR 154 Made SiblingBarCode 0 to unbounded ===-->
  <xs:complexType name="uspsContainerInfoType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MailOwnerID" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="USPSPublicationID" type="mailxml_base:s12"/>
      <xs:element minOccurs="0" name="ActualPieceCount" type="xs:nonNegativeInteger"/>
      <xs:element minOccurs="0" name="ContainerWeight" type="xs:float"/>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element name="UniqueContainerBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="SiblingBarcode" type="mailxml_base:container24CharacterBarcodeType"/>
      </xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ContainerDestination3digitZIP" type="mailxml_base:ns03"/>
        <xs:element name="ContainerDestination5digitZIP" type="mailxml_base:ns05"/>
      </xs:choice>
      <!--&lt;xs:element name=&quot;NestedContainers&quot; type=&quot;mailxml:uspsContainerInfoType&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt; -->
    </xs:sequence>
  </xs:complexType>
  <!--=== USPS Mailer Rating Type ===
    Deleted during Comment Period for v5.0 release as per FAST team
    &lt;xs:complexType name=&quot;uspsMailerRatingType&quot;&gt;
        &lt;xs:sequence&gt;
            &lt;xs:element name=&quot;CloseoutIrregularities&quot; type=&quot;mailxml_base:closeoutIrregularitiesType&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;
            &lt;xs:element name=&quot;ActualTotalPalletCount&quot; type=&quot;xs:nonNegativeInteger&quot; minOccurs=&quot;0&quot;/&gt;
            &lt;xs:element name=&quot;ActualBedloadPercent&quot; type=&quot;xs:nonNegativeInteger&quot; minOccurs=&quot;0&quot;/&gt;
            &lt;xs:element name=&quot;ExemptionCode&quot; type=&quot;mailxml_base:exemptionCodeType&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;
        &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt; -->
  <!--===complexType V===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType W===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType X===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType Y===-->
  <!--                   -->
  <!--      ======       -->
  <!--===complexType Z===-->
  <!--                   -->
  <!--      ======       -->
  <!--=== Zip Code ===-->
  <xs:complexType name="zipCode">
    <xs:simpleContent>
      <xs:extension base="mailxml_base:ns09"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:schema>
